Beispiel #1
0
 function __construct($flavor, $entryId = null, $baseUrl = '')
 {
     parent::__construct($flavor, $entryId, $baseUrl);
     $entry = entryPeer::retrieveByPK($this->entryId);
     $this->setMimeType($entry);
 }
Beispiel #2
0
 function __construct($flavors, $entryId = null, $baseUrl = '')
 {
     parent::__construct($flavors, $entryId, $baseUrl);
     // check if audio flavors exist
     foreach ($this->flavors as $flavor) {
         if (isset($flavor['audioLanguage'])) {
             $this->hasAudioFlavors = true;
             break;
         }
     }
 }