__construct() public method

public __construct ( )
 function __construct($file_path)
 {
     # create and store data required for this asset
     parent::__construct($file_path);
     # create and store additional data required for this asset
     $this->set_extended_data($file_path);
 }
Esempio n. 2
0
 public function __construct($data, $language = null)
 {
     if (is_number($data)) {
         $this->id = $data;
         $db = \TMDB\Client::getInstance();
         $data = $this->l1st($language);
     }
     parent::__construct($data);
 }
Esempio n. 3
0
 public function __construct($redirectUrl = null, $AssetType = null)
 {
     parent::__construct();
     $this->redirectUrl = $redirectUrl;
     $this->AssetType = $AssetType;
 }
 public function __construct($redirectUrl = null)
 {
     parent::__construct();
     $this->redirectUrl = $redirectUrl;
 }
Esempio n. 5
0
 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $options = array())
 {
     parent::__construct($name, null, $options);
     $this->setContent($source);
 }
Esempio n. 6
0
 protected function __construct($db, $data)
 {
     parent::__construct($db, $data);
     $this->assetRefs += array('service', 'brand', 'series', 'genre', 'format');
     $this->initProperties($data, array('title' => 'prog_title', 'service' => 'prog_service', 'brand' => 'prog_brand', 'series' => 'prog_series', 'format' => 'prog_format', 'genre' => 'prog_genre', 'position' => 'prog_position', 'shortSynopsis' => 'prog_short_synopsis', 'mediumSynopsis' => 'prog_medium_synopsis', 'longSynopsis' => 'prog_long_synopsos'));
 }
Esempio n. 7
0
 public function __construct($redirectUrl = NULL, $AssetType = NULL)
 {
     if (get_parent_class('RedirectAsset')) {
         parent::__construct();
     }
     $this->redirectUrl = $redirectUrl;
     $this->AssetType = $AssetType;
 }
Esempio n. 8
0
 /**
  * {@inheritDoc}
  */
 public function __construct(string $caminhoArquivo, bool $compactavel = true, bool $concatenavel = true)
 {
     parent::__construct($caminhoArquivo, $compactavel, $concatenavel);
 }
Esempio n. 9
0
 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $dependencies = [], array $options = [])
 {
     parent::__construct($name, null, $dependencies, $options);
     $this->setContent($source);
 }
 public function __construct($properties)
 {
     parent::__construct($properties);
 }
Esempio n. 11
0
 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $dependencies = array(), array $options = array())
 {
     $options['template'] = $source;
     parent::__construct($name, null, $dependencies, $options);
 }