/** * Create the instance of the destination and copy the destination to * the the many to one relation. * * If succesful, the instance is stored in the m_destInstance member variable. * * @return bool true if succesful, false if something went wrong. */ public function createDestination() { $result = parent::createDestination(); $this->getManyToOneRelation()->m_destInstance = $this->m_destInstance; return $result; }