Example #1
0
 /**
  * Constructor, no direct instantiation
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Infraction');
     $this->infractionChannel = $this->nodeApi->fetchInfractionChannel();
     $this->assertor = vB::getDbAssertor();
 }
 /**
  * Constructor, no external instantiation.
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Privatemessage');
     $userInfo = vB::getCurrentSession()->fetch_userinfo();
     if ($userInfo['userid'] > 0) {
         $this->library->checkFolders($userInfo['userid']);
         $this->pmChannel = $this->nodeApi->fetchPMChannel();
         $this->notificationTypes = $this->library->fetchNotificationTypes();
     }
 }
Example #3
0
 /**
  * Constructor, no external instantiation.
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Redirect');
 }
Example #4
0
 /**
  * Constructor, no external instantiation.
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Report');
     $this->ReportChannel = $this->nodeApi->fetchReportChannel();
 }