protected function _load_id($id = null, $force = false) { $id = $id ? $id : $this->params->id; if (!$force && ($return = $this->collection->get_item_by_id($id))) { return $return; } $return = $this->collection->clear(1)->load_only_id($id); if (!$return) { throw new controller_exception("_load_id({$id}) cant load item"); } return $return; }