當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。