public function updateObject($values = null) { $this->getObject()->setWriter($this->getObject()->Story->Creator); $this->getObject()->setWriterName($this->getObject()->Story->getCreatorName()); //die('saving StoryPieceFIRSTForm'); parent::updateObject($values); }
public function save($con = null) { $this->getObject()->setWriter(sfContext::getInstance()->getUser()->getGuardUser()); parent::save($con); }