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


PHP vB_Library::__construct方法代码示例

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


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

示例1: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->storage = vB::getDatastore()->getOption('attachfile');
     $this->filePath = vB::getDatastore()->getOption('attachpath');
     $this->assertor = vB::getDbAssertor();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:7,代码来源:filedata.php

示例2: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->contenttypeid = vB_Types::instance()->getContentTypeId($this->contenttype);
     //The table for the type-specific data.
     $this->assertor = vB::getDbAssertor();
     $this->nodeApi = vB_Api::instanceInternal('node');
     $this->nodeLibrary = vB_Library::instance('node');
     $this->nodeFields = $this->nodeApi->getNodeFields();
     $this->options = vB::getDatastore()->getValue('options');
     $this->channelTypeId = vB_Types::instance()->getContentTypeID('vBForum_Channel');
     $config = vB::getConfig();
     $structure = $this->assertor->fetchTableStructure('vBForum:node');
     foreach ($structure['structure'] as $fieldName) {
         $this->allCanview[$fieldName] = $fieldName;
     }
     $structure = $this->assertor->fetchTableStructure('vBForum:channel');
     foreach ($structure['structure'] as $fieldName) {
         $this->allCanview[$fieldName] = $fieldName;
     }
     self::$cacheNodes = vB::getDatastore()->getOption('cache_node_data');
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:22,代码来源:content.php

示例3: __construct

 /**
  * Initializes an Api Site object
  */
 public function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->cleanerObj = new vB_Cleaner();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:9,代码来源:site.php

示例4: __construct

 /**
  *	This class is based on vB_Library_Blog
  */
 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->articleHomeChannel = $this->getArticleChannel();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:9,代码来源:article.php

示例5: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:5,代码来源:notification.php

示例6: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->blogChannel = $this->getBlogChannel();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:6,代码来源:blog.php

示例7: __construct

 protected function __construct()
 {
     parent::__construct();
     require_once DIR . '/includes/functions_bigthree.php';
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:5,代码来源:user.php

示例8: __construct

 protected function __construct()
 {
     parent::__construct();
 }
开发者ID:cedwards-reisys,项目名称:nexus-web,代码行数:4,代码来源:userrank.php


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