public function findById($id, $cacheLifeTime = 0, $tags = array()) { $id = intval($id); if (empty($this->cachedItems[$id])) { $this->cachedItems[$id] = parent::findById($id, $cacheLifeTime, $tags); } return $this->cachedItems[$id]; }
public function findByIdWithoutCache($id) { $id = intval($id); return parent::findById($id); }