当前位置: 首页>>代码示例>>PHP>>正文


PHP BaseView::__construct方法代码示例

本文整理汇总了PHP中BaseView::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP BaseView::__construct方法的具体用法?PHP BaseView::__construct怎么用?PHP BaseView::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BaseView的用法示例。


在下文中一共展示了BaseView::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     if (!in_array($_SESSION['dept'], self::$dept)) {
         PublicView::jumpswitch();
     }
     parent::__construct();
 }
开发者ID:ohjack,项目名称:newErp,代码行数:7,代码来源:amazonMessagefilter.view.php

示例2: __construct

 public function __construct()
 {
     parent::__construct();
     if (!isset($_REQUEST["PHPSESSID"])) {
         $this->smarty->assign("progressInfor", A('Public')->act_getInforProgress());
     }
 }
开发者ID:bizonix,项目名称:sailvan,代码行数:7,代码来源:distributorBasicInformation.view.php

示例3: __construct

    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; }
		');
    }
开发者ID:balucio,项目名称:smac,代码行数:14,代码来源:statosistema.php

示例4: array

 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();
 }
开发者ID:amanai,项目名称:next24,代码行数:15,代码来源:BaseSiteView.php

示例5: __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;
 }
开发者ID:ohjack,项目名称:newErp,代码行数:15,代码来源:searchCode.view.php

示例6: __construct

 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);
 }
开发者ID:ohjack,项目名称:newErp,代码行数:19,代码来源:paymentOrder.view.php

示例7: __construct

 /**
  * 构造函数
  * @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);
 }
开发者ID:ohjack,项目名称:newErp,代码行数:24,代码来源:partnerAnalysis.view.php

示例8: __construct

 public function __construct($records)
 {
     parent::__construct($records, PATH_VIEW_MENU, 'menu_tpl.php', false);
 }
开发者ID:khoteevnd,项目名称:mb,代码行数:4,代码来源:Menu_class.php

示例9: __construct

 public function __construct()
 {
     parent::__construct();
     $this->pageId = "content.privacy";
 }
开发者ID:sohflp,项目名称:Hooked,代码行数:5,代码来源:class.PrivacyPolicyView.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
 }
开发者ID:bizonix,项目名称:sailvan,代码行数:4,代码来源:login.view.php

示例11: __construct

 public function __construct($records)
 {
     parent::__construct($records, PATH_VIEW_MESSAGE, 'message_tpl.php', false);
 }
开发者ID:khoteevnd,项目名称:mb,代码行数:4,代码来源:Message_class.php

示例12: __construct

 public function __construct($records)
 {
     parent::__construct($records, PATH_VIEW_HEADER, 'header_tpl.php', false);
 }
开发者ID:khoteevnd,项目名称:mb,代码行数:4,代码来源:Header_class.php

示例13: array

 function __construct()
 {
     parent::__construct();
     add_shortcode('mecato_search', array($this, 'show_view'));
 }
开发者ID:betocastillo86,项目名称:mecato,代码行数:5,代码来源:SearchRestaurantView.php

示例14: __construct

 public function __construct($records)
 {
     parent::__construct($records, PATH_VIEW_FOOTER, 'footer_tpl.php', false);
 }
开发者ID:khoteevnd,项目名称:mb,代码行数:4,代码来源:Footer_class.php

示例15:

 function __construct()
 {
     $this->_base_dir = 'admin';
     parent::__construct();
 }
开发者ID:amanai,项目名称:next24,代码行数:5,代码来源:BaseAdminView.php


注:本文中的BaseView::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。