Example #1
0
 /**
  * Cached object save
  *
  * See ORM_Model::save()
  *
  * @return boolean
  *      True if successful
  */
 public function save()
 {
     $result = parent::save();
     if ($result) {
         $this->_cache()->set((string) $this, $this, self::CACHE_TTL);
     }
     return $result;
 }