/** * Constructor * * @param void */ public function __construct() { parent::__construct(); $this->_model = new User(); $this->_view = new UserView($this->_model); if (!PModules::moduleLoaded('user')) { throw new PException('Require module "user"!'); } }
public function __construct() { parent::__construct(); $this->_model = new Forums(); $this->_view = new ForumsView($this->_model); // $this->_view->page=new RoxGenericPage(); $this->BW_Right = MOD_right::get(); $this->BW_Flag = MOD_flag::get(); $this->request = PRequest::get()->request; $this->forums_uri = $this->get_forums_uri(); $this->_model->forums_uri = $this->forums_uri; }
/** */ public function __construct() { parent::__construct(); $this->_model = new Searchmembers(); $this->_view = new SearchmembersView($this->_model); // if a stylesheet is requested (in subdir style), pipe it through $request = PRequest::get()->request; if (isset($request[0]) && $request[0] == 'styles') { $req = implode('/', $request); if (isset($_SESSION['lastRequest'])) { PRequest::ignoreCurrentRequest(); } $this->_view->passthroughCSS($req); } }
public function __construct() { parent::__construct(); $this->_model = new Wiki(); $this->_view = new WikiView($this->_model); }
public function __construct() { parent::__construct(); $this->_model = new Shouts(); $this->_view = new ShoutsView($this->_model); }
public function __construct() { parent::__construct(); $this->_model = new DonateModel(); $this->_view = new DonateView($this->_model); }