public function save($con = null) { parent::save($con); // update the updated_at date of the parent page $page = $this->getsfSimpleCMSPage(); $page->setUpdatedAt(time()); $page->save(); }
public function getPeer() { if (self::$peer === null) { self::$peer = new sfSimpleCMSSlotPeer(); } return self::$peer; }