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