src/CI_Base_Model.php
public function field($conditions = NULL, $name, $fields = '*', $order = NULL)
    {
        $data = $this->find_all($conditions, $fields, $order, 0, 1);

        if ($data) {
            $row = $data[0];
            if (isset($row[$name])) {
                return $row[$name];
            }
        }

        return FALSE;
    }
public function field($conditions = NULL, $name, $fields = '*', $order = NULL)
    {
        $data = $this->find_all($conditions, $fields, $order, 0, 1);

        if ($data) {
            $row = $data[0];
            if (isset($row[$name])) {
                return $row[$name];
            }
        }

        return FALSE;
    }
@param null   $conditions
@param        $name
@param string $fields
@param null   $order

@return bool