本文整理匯總了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();
}
示例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');
}
示例3: __construct
/**
* Initializes an Api Site object
*/
public function __construct()
{
parent::__construct();
$this->assertor = vB::getDbAssertor();
$this->cleanerObj = new vB_Cleaner();
}
示例4: __construct
/**
* This class is based on vB_Library_Blog
*/
protected function __construct()
{
parent::__construct();
$this->assertor = vB::getDbAssertor();
$this->articleHomeChannel = $this->getArticleChannel();
}
示例5: __construct
protected function __construct()
{
parent::__construct();
$this->assertor = vB::getDbAssertor();
}
示例6: __construct
protected function __construct()
{
parent::__construct();
$this->assertor = vB::getDbAssertor();
$this->blogChannel = $this->getBlogChannel();
}
示例7: __construct
protected function __construct()
{
parent::__construct();
require_once DIR . '/includes/functions_bigthree.php';
}
示例8: __construct
protected function __construct()
{
parent::__construct();
}