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


PHP UniteBaseClassRev::__construct方法代码示例

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


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

示例1: __construct

 /**
  * 
  * main constructor		 
  */
 public function __construct($mainFile, $t, $defaultView)
 {
     parent::__construct($mainFile, $t);
     //set view
     self::$view = self::getGetVar("view");
     if (empty(self::$view)) {
         self::$view = $defaultView;
     }
     //add internal hook for adding a menu in arrMenus
     self::addAction(self::ACTION_ADMIN_MENU, "addAdminMenu");
     //if not inside plugin don't continue
     if ($this->isInsidePlugin() == true) {
         self::addAction(self::ACTION_ADD_SCRIPTS, "addCommonScripts");
         self::addAction(self::ACTION_ADD_SCRIPTS, "onAddScripts");
     }
     //a must event for any admin. call onActivate function.
     $this->addEvent_onActivate();
     self::addActionAjax("show_image", "onShowImage");
 }
开发者ID:venkimithu,项目名称:npmgroups,代码行数:23,代码来源:base_admin.class.php

示例2: __construct

 /**
  *
  * the constructor
  */
 public function __construct()
 {
     UniteBaseClassRev::__construct('', $this);
     //set table names
     GlobalsRevSlider::$table_sliders = GlobalsRevSlider::TABLE_SLIDERS_NAME;
     GlobalsRevSlider::$table_slides = GlobalsRevSlider::TABLE_SLIDES_NAME;
     GlobalsRevSlider::$table_static_slides = GlobalsRevSlider::TABLE_STATIC_SLIDES_NAME;
     GlobalsRevSlider::$table_settings = GlobalsRevSlider::TABLE_SETTINGS_NAME;
     GlobalsRevSlider::$table_css = GlobalsRevSlider::TABLE_CSS_NAME;
     GlobalsRevSlider::$table_layer_anims = GlobalsRevSlider::TABLE_LAYER_ANIMS_NAME;
     GlobalsRevSlider::$filepath_backup = self::$path_plugin . "backup/";
     GlobalsRevSlider::$filepath_captions = self::$path_plugin . "rs-plugin/css/captions.css";
     GlobalsRevSlider::$urlCaptionsCSS = Mage::getDesign()->getSkinUrl('css/nwdthemes/revslider/dynamic.css');
     GlobalsRevSlider::$urlStaticCaptionsCSS = Mage::getDesign()->getSkinUrl('css/nwdthemes/revslider/static.css');
     GlobalsRevSlider::$filepath_dynamic_captions = Mage::getDesign()->getSkinBaseDir() . "/revslider/css/dynamic-captions.css";
     GlobalsRevSlider::$filepath_static_captions = Mage::getDesign()->getSkinBaseDir() . "/revslider/css/static-captions.css";
     GlobalsRevSlider::$filepath_captions_original = Mage::getDesign()->getSkinBaseDir() . "/revslider/css/captions-original.css";
     GlobalsRevSlider::$urlExportZip = Mage::getBaseDir('tmp') . '/revslider_export.zip';
     $this->init();
 }
开发者ID:perseusl,项目名称:kingdavid,代码行数:24,代码来源:revslider_admin.php

示例3: __construct

 public function __construct($mainFile, $t)
 {
     parent::__construct($mainFile, $t);
     self::addAction(self::ACTION_ENQUEUE_SCRIPTS, "onAddScripts");
 }
开发者ID:evgrishin,项目名称:se1614,代码行数:5,代码来源:base_front.class.php

示例4: __construct

 /**
  * 
  * main constructor		 
  */
 public function __construct($mainFile, $t)
 {
     parent::__construct($mainFile, $t);
     self::addAction(self::ACTION_ENQUEUE_SCRIPTS, "onAddScripts");
     add_filter('wp_footer', array($this, 'onAddScriptsHtml'));
 }
开发者ID:nazarmak,项目名称:wp-content,代码行数:10,代码来源:base_front.class.php


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