コード例 #1
0
 protected function __construct()
 {
     parent::__construct();
     $this->usergroupcache = vB::getDatastore()->get_value('usergroupcache');
     $this->sortUserGroupList();
     $this->privateGroups = array(self::CHANNEL_OWNER_SYSGROUPID, self::CHANNEL_MODERATOR_SYSGROUPID, self::CHANNEL_MEMBER_SYSGROUPID);
 }
コード例 #2
0
 protected function __construct()
 {
     parent::__construct();
     require_once DIR . '/includes/class_paid_subscription.php';
     // Cache subscriptions
     $this->subobj = new vB_PaidSubscription();
     $this->fetchActivePaymentApis();
 }
コード例 #3
0
ファイル: user.php プロジェクト: cedwards-reisys/nexus-web
 protected function __construct()
 {
     parent::__construct();
     $this->userContext = vB::getUserContext();
     $this->library = vB_Library::instance('user');
 }
コード例 #4
0
ファイル: api.php プロジェクト: cedwards-reisys/nexus-web
 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     $this->dbassertor = vB::getDbAssertor();
 }
コード例 #5
0
ファイル: notice.php プロジェクト: cedwards-reisys/nexus-web
 public function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
 }
コード例 #6
0
 protected function __construct()
 {
     parent::__construct();
 }
コード例 #7
0
ファイル: style.php プロジェクト: cedwards-reisys/nexus-web
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Style');
 }
コード例 #8
0
ファイル: profile.php プロジェクト: cedwards-reisys/nexus-web
 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->imageHandler = vB_Image::instance();
 }
コード例 #9
0
 protected function __construct()
 {
     parent::__construct();
     $this->cleaner = new vB_Cleaner();
     $this->library = vB_Library::instance('external');
 }
コード例 #10
0
ファイル: blog.php プロジェクト: cedwards-reisys/nexus-web
 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->library = vB_Library::instance('blog');
 }
コード例 #11
0
ファイル: content.php プロジェクト: cedwards-reisys/nexus-web
 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     //The table for the type-specific data.
     $this->assertor = vB::getDbAssertor();
     $this->nodeApi = vB_Api::instanceInternal('node');
     // TODO remove this when the previewFields var is removed
     $this->previewFields = $this->nodeApi->fetchPreviewFields();
     // TODO remove this when the nodeFields var is removed
     $this->nodeFields = $this->nodeApi->getNodeFields();
     $this->options = vB::get_datastore()->get_value('options');
 }
コード例 #12
0
ファイル: ad.php プロジェクト: cedwards-reisys/nexus-web
 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     // cache all ads
     $this->updateAdCache();
 }
コード例 #13
0
ファイル: node.php プロジェクト: cedwards-reisys/nexus-web
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('node');
     $this->pmContenttypeid = vB_Types::instance()->getContentTypeId('vBForum_PrivateMessage');
 }
コード例 #14
0
ファイル: help.php プロジェクト: cedwards-reisys/nexus-web
 /**
  * Initializes an Api Help object
  */
 public function __construct()
 {
     parent::__construct();
     $this->cleanerObj = new vB_Cleaner();
 }