src/CI_Base_Model.php
public function find_all($conditions = NULL, $fields = '*', $order = NULL, $start = 0, $limit = NULL)
    {
        if ($conditions != NULL) {
            if (is_array($conditions)) {
                $this->_database->where($conditions);
            } else {
                $this->_database->where($conditions, NULL, FALSE);
            }
        }

        if ($fields != NULL) {
            $this->_database->select($fields);
        }

        if ($order != NULL) {
            $this->order_by($order);
        }

        if ($limit != NULL) {
            $this->_database->limit($limit, $start);
        }

        return $this->get_all();
    }
public function find_all($conditions = NULL, $fields = '*', $order = NULL, $start = 0, $limit = NULL)
    {
        if ($conditions != NULL) {
            if (is_array($conditions)) {
                $this->_database->where($conditions);
            } else {
                $this->_database->where($conditions, NULL, FALSE);
            }
        }

        if ($fields != NULL) {
            $this->_database->select($fields);
        }

        if ($order != NULL) {
            $this->order_by($order);
        }

        if ($limit != NULL) {
            $this->_database->limit($limit, $start);
        }

        return $this->get_all();
    }
@param null|string|array $conditions
@param string            $fields
@param null|string|array $order
@param int               $start
@param null|int          $limit

@return mixed