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); }
public function __construct($data, $language = null) { if (is_number($data)) { $this->id = $data; $db = \TMDB\Client::getInstance(); $data = $this->l1st($language); } parent::__construct($data); }
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; }
/** * {@inheritdoc} */ public function __construct($name, $source, array $options = array()) { parent::__construct($name, null, $options); $this->setContent($source); }
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')); }
public function __construct($redirectUrl = NULL, $AssetType = NULL) { if (get_parent_class('RedirectAsset')) { parent::__construct(); } $this->redirectUrl = $redirectUrl; $this->AssetType = $AssetType; }
/** * {@inheritDoc} */ public function __construct(string $caminhoArquivo, bool $compactavel = true, bool $concatenavel = true) { parent::__construct($caminhoArquivo, $compactavel, $concatenavel); }
/** * {@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); }
/** * {@inheritdoc} */ public function __construct($name, $source, array $dependencies = array(), array $options = array()) { $options['template'] = $source; parent::__construct($name, null, $dependencies, $options); }