当前位置: 首页>>代码示例>>PHP>>正文


PHP Asset::__construct方法代码示例

本文整理汇总了PHP中Asset::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Asset::__construct方法的具体用法?PHP Asset::__construct怎么用?PHP Asset::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Asset的用法示例。


在下文中一共展示了Asset::__construct方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 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);
 }
开发者ID:kolber,项目名称:aesthetically-loyal-website,代码行数:7,代码来源:image.inc.php

示例2: __construct

 public function __construct($data, $language = null)
 {
     if (is_number($data)) {
         $this->id = $data;
         $db = \TMDB\Client::getInstance();
         $data = $this->l1st($language);
     }
     parent::__construct($data);
 }
开发者ID:ahmetozantekin,项目名称:TMDB4PHP,代码行数:9,代码来源:Genre.php

示例3: __construct

 public function __construct($redirectUrl = null, $AssetType = null)
 {
     parent::__construct();
     $this->redirectUrl = $redirectUrl;
     $this->AssetType = $AssetType;
 }
开发者ID:randyibarrola,项目名称:active,代码行数:6,代码来源:CreativeService.php

示例4: __construct

 public function __construct($redirectUrl = null)
 {
     parent::__construct();
     $this->redirectUrl = $redirectUrl;
 }
开发者ID:stevenmaguire,项目名称:googleads-php-lib,代码行数:5,代码来源:CreativeService.php

示例5: __construct

 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $options = array())
 {
     parent::__construct($name, null, $options);
     $this->setContent($source);
 }
开发者ID:ejailesb,项目名称:repo_empr,代码行数:8,代码来源:StringAsset.php

示例6: __construct

 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'));
 }
开发者ID:nevali,项目名称:assets,代码行数:6,代码来源:prog.php

示例7: __construct

 public function __construct($redirectUrl = NULL, $AssetType = NULL)
 {
     if (get_parent_class('RedirectAsset')) {
         parent::__construct();
     }
     $this->redirectUrl = $redirectUrl;
     $this->AssetType = $AssetType;
 }
开发者ID:josephbergdoll,项目名称:berrics,代码行数:8,代码来源:CreativeService.php

示例8: __construct

 /**
  * {@inheritDoc}
  */
 public function __construct(string $caminhoArquivo, bool $compactavel = true, bool $concatenavel = true)
 {
     parent::__construct($caminhoArquivo, $compactavel, $concatenavel);
 }
开发者ID:darkemg,项目名称:numenor,代码行数:7,代码来源:Css.php

示例9: __construct

 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $dependencies = [], array $options = [])
 {
     parent::__construct($name, null, $dependencies, $options);
     $this->setContent($source);
 }
开发者ID:LibraryOfLawrence,项目名称:pagekit,代码行数:8,代码来源:StringAsset.php

示例10: __construct

 public function __construct($properties)
 {
     parent::__construct($properties);
 }
开发者ID:songproducer,项目名称:xmr-integration,代码行数:4,代码来源:class.cryptonote.php

示例11: __construct

 /**
  * {@inheritdoc}
  */
 public function __construct($name, $source, array $dependencies = array(), array $options = array())
 {
     $options['template'] = $source;
     parent::__construct($name, null, $dependencies, $options);
 }
开发者ID:ejailesb,项目名称:repo,代码行数:8,代码来源:TemplateAsset.php


注:本文中的Asset::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。