public function updateObject($values = null) { if (!isset($values)) { $values = $this->getValues(); } $object = parent::updateObject($values); $object->type = 'image'; return $object; }
public function updateObject($values = null) { $object = parent::updateObject($values); $object->type = 'pdf'; return $object; }
/** * DOCUMENT ME * @param mixed $values * @return mixed */ public function updateObject($values = null) { if (!isset($values)) { $values = $this->getValues(); } return parent::updateObject($values); }
/** * DOCUMENT ME * @param mixed $values */ public function updateObject($values = null) { $object = parent::updateObject($values); $this->videoUpdateObject($values); }