public function __construct() { if (!in_array($_SESSION['dept'], self::$dept)) { PublicView::jumpswitch(); } parent::__construct(); }
public function __construct() { parent::__construct(); if (!isset($_REQUEST["PHPSESSID"])) { $this->smarty->assign("progressInfor", A('Public')->act_getInforProgress()); } }
public function __construct($model) { parent::__construct($model); $asset = Assets::get(); $asset->addJs('/js/rainbow.js'); $asset->addJs('/js/statosistema.js'); $asset->addInternalCss(' .btn-group.pull-right {margin-top: -0.2em;} .status { text-shadow: 1px 1px 1px black; } .status.on { color: red; } .status.off { color: lightseagreen; } .status.undefined { color : red; } '); }
function __construct() { $user = Project::getUser()->getShowedUser(); $this->assign('showed_user_profile', $user->data()); $this->_base_dir = 'site'; // $this -> _js_files=array('sys.js', 'tab.js','jquery-1.3.2.js','ui.core.js','ui.draggable.js','ui.droppable.js','dropdown.js'); // $this -> _js_files=array('jquery-1.3.2.js','ui.core.js','ui.draggable.js','ui.droppable.js'); // $this -> _js_files=array('dropdown.js'); // $this -> _js_files=array('sys.js'); // $this -> _js_files=array('jquery.js','dropdown.js'); // $this -> _js_files=array('sys.js', 'tab.js','jquery-1.3.2.min.js','ui.core.js','ui.draggable.js','ui.droppable.js','dropdown.js'); $this->_js_files = array('jquery.min.js', 'dropdown.js'); $this->_css_files = array('screen.css'); parent::__construct(); }
public function __construct() { parent::__construct(); if (isset($_GET["mod"]) && !empty($_GET["mod"])) { $mod = $_GET["mod"]; } if (isset($_GET["act"]) && !empty($_GET["act"])) { $act = $_GET["act"]; } $this->smarty->assign('act', $act); //模块权限 $this->smarty->assign('mod', $mod); //模块权限 $this->smarty->debugging = false; }
public function __construct() { // 继承父类,并分配模块通用的变量:mod,act,WEB_API,WEB_URL parent::__construct(); if (isset($_GET["mod"]) && !empty($_GET["mod"])) { $mod = $_GET["mod"]; } if (isset($_GET["act"]) && !empty($_GET["act"])) { $act = $_GET["act"]; } $this->smarty->assign('act', $act); //模块权限 $this->smarty->assign('mod', $mod); //模块权限 $this->smarty->caching = false; $this->smarty->debugging = false; $this->smarty->assign("WEB_API", WEB_API); $this->smarty->assign("WEB_URL", WEB_URL); }
/** * 构造函数 * @return void */ public function __construct() { parent::__construct(); if (isset($_GET["mod"]) && !empty($_GET["mod"])) { $mod = $_GET["mod"]; } if (isset($_GET["act"]) && !empty($_GET["act"])) { $act = $_GET["act"]; } $this->smarty->assign('act', $act); //模块权限 $this->smarty->assign('mod', $mod); //模块权限 $this->smarty->caching = false; $this->smarty->debugging = false; $this->smarty->assign("WEB_API", WEB_API); $this->smarty->assign("WEB_URL", WEB_URL); $_username = isset($_SESSION['userName']) ? $_SESSION['userName'] : ""; $this->smarty->assign('_username', $_username); }
public function __construct($records) { parent::__construct($records, PATH_VIEW_MENU, 'menu_tpl.php', false); }
public function __construct() { parent::__construct(); $this->pageId = "content.privacy"; }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->pageId = "content.service"; }
public function __construct() { parent::__construct(); $this->pageId = "homepage"; }
public function __construct($records) { parent::__construct($records, PATH_VIEW_MESSAGE, 'message_tpl.php', false); }
public function __construct($records) { parent::__construct($records, PATH_VIEW_HEADER, 'header_tpl.php', false); }
function __construct() { parent::__construct(); add_shortcode('mecato_search', array($this, 'show_view')); }
public function __construct() { parent::__construct(); $this->pageId = "order.payment"; }
public function __construct($records) { parent::__construct($records, PATH_VIEW_FOOTER, 'footer_tpl.php', false); }
function __construct() { $this->_base_dir = 'admin'; parent::__construct(); }
/** * 构造函数 */ public function __construct() { parent::__construct(); $this->smarty->assign("progressInfor", A('Public')->act_getInforProgress()); }
public function __construct() { parent::__construct(); $this->pageId = "content.faq." . $this->pageId; }
public function __construct($records) { parent::__construct($records, PATH_VIEW_LAYOUT, 'layout_tpl.php', true); }
/** * 构造函数 */ public function __construct() { parent::__construct(); $this->getParameters(); //首页相关参数的设置 }
public function __construct() { parent::__construct(); $this->pageId = "order.mypurchases"; }
/** * @param \common\ITempDataHandler $tempDataHandler * @param \model\RegisterModel $registerModel */ public function __construct(\common\ITempDataHandler $tempDataHandler, \model\RegisterModel $registerModel) { parent::__construct($tempDataHandler); $this->registerModel = $registerModel; }
public function __construct() { parent::__construct(); $this->pageId = "product.account"; }
public function __construct() { parent::__construct(); $this->pageId = "inbox"; }
public function __construct() { parent::__construct(); $this->pageId = "order." . $this->pageId; }
public function __construct() { parent::__construct(); $this->pageId = "account." . $this->pageId; }
public function __construct() { parent::__construct(); $this->pageId = "product." . $this->pageId; }
public function __construct() { parent::__construct(); $this->pageId = "login.myaccount"; }