/** * Load initial properties from this object. * @param CONTENT_OBJECT $obj */ public function load_from_object($obj) { parent::load_from_object($obj); $this->set_value('title', $obj->title); $this->set_value('description', $obj->description); }
/** * Delete the given object. * @param RELEASE $obj * @access private */ public function commit($obj) { parent::commit($obj); /** @var RELEASE $release */ $release = $this->_object; include_once 'projects/obj/release_updater.php'; $committer = new RELEASE_SHIPPER($release); $committer->apply($this->value_for('sub_history_item_publication_state')); }