當前位置: 首頁>>代碼示例>>PHP>>正文


PHP vB_Api::__construct方法代碼示例

本文整理匯總了PHP中vB_Api::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP vB_Api::__construct方法的具體用法?PHP vB_Api::__construct怎麽用?PHP vB_Api::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在vB_Api的用法示例。


在下文中一共展示了vB_Api::__construct方法的14個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 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);
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:7,代碼來源:usergroup.php

示例2: __construct

 protected function __construct()
 {
     parent::__construct();
     require_once DIR . '/includes/class_paid_subscription.php';
     // Cache subscriptions
     $this->subobj = new vB_PaidSubscription();
     $this->fetchActivePaymentApis();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:8,代碼來源:paidsubscription.php

示例3: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->userContext = vB::getUserContext();
     $this->library = vB_Library::instance('user');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:6,代碼來源:user.php

示例4: __construct

 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     $this->dbassertor = vB::getDbAssertor();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:8,代碼來源:api.php

示例5: __construct

 public function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:5,代碼來源:notice.php

示例6: __construct

 protected function __construct()
 {
     parent::__construct();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:4,代碼來源:screenlayout.php

示例7: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Style');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:5,代碼來源:style.php

示例8: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->imageHandler = vB_Image::instance();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:6,代碼來源:profile.php

示例9: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->cleaner = new vB_Cleaner();
     $this->library = vB_Library::instance('external');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:6,代碼來源:external.php

示例10: __construct

 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     $this->assertor = vB::getDbAssertor();
     $this->library = vB_Library::instance('blog');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:9,代碼來源:blog.php

示例11: __construct

 /**
  * 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');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:15,代碼來源:content.php

示例12: __construct

 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     // cache all ads
     $this->updateAdCache();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:9,代碼來源:ad.php

示例13: __construct

 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('node');
     $this->pmContenttypeid = vB_Types::instance()->getContentTypeId('vBForum_PrivateMessage');
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:6,代碼來源:node.php

示例14: __construct

 /**
  * Initializes an Api Help object
  */
 public function __construct()
 {
     parent::__construct();
     $this->cleanerObj = new vB_Cleaner();
 }
開發者ID:cedwards-reisys,項目名稱:nexus-web,代碼行數:8,代碼來源:help.php


注:本文中的vB_Api::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。