__construct() public method

public __construct ( $durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null )
コード例 #1
0
ファイル: html5video.php プロジェクト: 01J/bealtine
 function __construct($id, $title = '', $offset = 0)
 {
     parent::__construct($id, $title, $offset);
     if (in_array(pathinfo($id, PATHINFO_EXTENSION), array('oga', 'mp3', 'm4a', 'webma', 'wav'))) {
         $this->type = 'a';
     }
 }
コード例 #2
0
ファイル: tvshow_episode.class.php プロジェクト: nioc/ampache
 /**
  * Constructor
  * This pulls the tv show episode information from the database and returns
  * a constructed object
  */
 public function __construct($id)
 {
     parent::__construct($id);
     $info = $this->get_info($id);
     foreach ($info as $key => $value) {
         $this->{$key} = $value;
     }
     return true;
 }
コード例 #3
0
ファイル: soundcloudvideo.php プロジェクト: 01J/bealtine
 function __construct($id, $title = '', $offset = 0, $visual = true)
 {
     parent::__construct($id, $title, $offset);
     $this->visual = $visual;
     $this->type = 'a';
 }