protected function __construct() { parent::__construct(); $this->storage = vB::getDatastore()->getOption('attachfile'); $this->filePath = vB::getDatastore()->getOption('attachpath'); $this->assertor = vB::getDbAssertor(); }
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'); }
/** * Initializes an Api Site object */ public function __construct() { parent::__construct(); $this->assertor = vB::getDbAssertor(); $this->cleanerObj = new vB_Cleaner(); }
/** * This class is based on vB_Library_Blog */ protected function __construct() { parent::__construct(); $this->assertor = vB::getDbAssertor(); $this->articleHomeChannel = $this->getArticleChannel(); }
protected function __construct() { parent::__construct(); $this->assertor = vB::getDbAssertor(); }
protected function __construct() { parent::__construct(); $this->assertor = vB::getDbAssertor(); $this->blogChannel = $this->getBlogChannel(); }
protected function __construct() { parent::__construct(); require_once DIR . '/includes/functions_bigthree.php'; }
protected function __construct() { parent::__construct(); }