Exemple #1
0
 /**
  * Adds a new object into the current object and returns it.
  *
  * @param HausDesign_Media_Asf_Object $object The object to add
  * @return HausDesign_Media_Asf_Object
  */
 public final function addObject($object)
 {
     $object->setParent($this);
     $object->setOptions($this->_options);
     if (!$this->hasObject($object->getIdentifier())) {
         $this->_objects[$object->getIdentifier()] = array();
     }
     return $this->_objects[$object->getIdentifier()][] = $object;
 }