Beispiel #1
0
 /**
  * Adds a new object into the current object and returns it.
  *
  * @param Zend_Media_Asf_Object $object The object to add
  * @return Zend_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;
 }