/** * Find only the max per page by default * @Developer brandon * @Date Apr 20, 2010 */ public function find_all($page = NULL) { return parent::find_all(Kohana::config('pagination.default.items_per_page'), math::page($page)); }
/** * Find only the max per page by default * @Developer brandon * @Date Apr 20, 2010 */ public function find_all($page = NULL) { if (array_key_exists('store_id', $this->table_columns)) { $this->where('store_id', Kohana::config('store.id')); } return parent::find_all(Kohana::config('pagination.default.items_per_page'), math::page($page)); }