public function addMaintenance(Staging $staging, $with_desc = false) { if ($with_desc) { $this->maintenance->setDescription($this->desc); } $staging->addRelated($this->maintenance); }
public function setAttribution(Staging $staging) { $staging->setLithoName($this->name); $staging->setLithoLevelName($this->level_name); }
/** * Save the identification and the associated identifiers * @param Doctrine_Record $staging The Staging record passed to associate the identification record to */ public function save(Staging $staging) { $valueDefined = $this->getCatalogueName(); $this->identification->fromArray(array('notion_concerned' => $this->notion, 'determination_status' => $this->determination_status, 'value_defined' => $valueDefined)); $staging->addRelated($this->identification); }