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


PHP __extends函数代码示例

本文整理汇总了PHP中__extends函数的典型用法代码示例。如果您正苦于以下问题:PHP __extends函数的具体用法?PHP __extends怎么用?PHP __extends使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: __construct

 public function __construct($data)
 {
     // Recupération des données envoyé par le system.
     $this->data = $data;
     // Extension de l'objet et  mise à jour du noyau.
     __extends($this);
     // Définition des informations du thème.
     $this->theme = $this->data['active_theme'];
     // Inclusion du ficher "library.php".
     if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) {
         include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php';
     }
     theme_jpush("js/globals/jquery.min");
     theme_jpush("js/globals/jquery.contact");
     theme_jpush("js/globals/jquery.easing.1.3");
     theme_jpush("js/globals/jquery.fancybox.min");
     theme_jpush("js/globals/jquery.flexslider");
     theme_jpush("js/globals/jquery.gmap.min");
     theme_jpush("js/globals/jquery.isotope.min");
     theme_jpush("js/globals/jquery.jcarousel");
     theme_jpush("js/globals/jquery.layerslider-transitions");
     theme_jpush("js/globals/jquery.layerslider.min");
     theme_jpush("js/globals/jquery.modernizr");
     theme_jpush("js/globals/jquery.selectnav");
     theme_jpush("js/globals/jquery.shop");
     theme_jpush("js/globals/jquery.transit-modified");
     theme_jpush("js/globals/script");
     theme_jpush("js/globals/switcher");
     theme_jpush("js/globals/custom");
     theme_cpush("css/globals/base");
     theme_cpush("css/globals/icons");
     theme_cpush("css/globals/responsive");
     theme_cpush("css/globals/style");
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:34,代码来源:script.php

示例2: __construct

 public function __construct($data = array())
 {
     parent::__construct();
     __extends($this);
     $this->data = $data;
     $this->load->library('file');
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:7,代码来源:tendoo_index.php

示例3: __construct

 function __construct($data)
 {
     __extends($this);
     $this->data =& $data;
     include_once $this->data['MODULE_DIR'] . '/library.php';
     $this->lib = new News_smart();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:7,代码来源:showcategory.php

示例4: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->load->library('form_validation');
     $this->load->library('installation');
     $this->load->library('file');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->file->css_push('font');
     /**
     		$this->file->css_push('font');
     		$this->file->css_push('app.v2');
     		$this->file->css_push('fuelux');
     		// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     		$this->file->js_push('jquery');
     		$this->file->js_push('app.min.vtendoo');
     		$this->file->js_push('tendoo_app');
     		**/
     css_push_if_not_exists('../admin-lte/bootstrap/css/bootstrap.min');
     css_push_if_not_exists('../admin-lte/font-awesome/font-awesome.4.3.0.min');
     css_push_if_not_exists('../admin-lte/dist/css/AdminLTE.min');
     css_push_if_not_exists('../admin-lte/plugins/iCheck/square/blue');
     js_push_if_not_exists('../admin-lte/plugins/jQuery/jQuery-2.1.3.min');
     js_push_if_not_exists('../admin-lte/bootstrap/js/bootstrap.min');
     js_push_if_not_exists('../admin-lte/plugins/iCheck/icheck.min');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:30,代码来源:install.php

示例5: __construct

 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->_config();
     $this->data = $data;
     $this->instance = get_instance();
     $this->opened_module = get_core_vars('opened_module');
     $this->data['module'] = get_core_vars('opened_module');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $fileManager = get_modules('filter_namespace', 'tendoo_contents');
     if ($fileManager) {
         include_once MODULES_DIR . $fileManager['encrypted_dir'] . '/utilities.php';
         set_core_vars('fmlib', new tendoo_contents_utility());
         // Loading library
     }
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->data['inner_head'] = $this->load->view('admin/inner_head', $this->data, true);
     $this->data['lmenu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
     $this->link = MODULES_DIR . $this->opened_module['encrypted_dir'] . '/';
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     // ???
     $this->module_metas =& $this->opened_module;
     // ???
     // $this->load->library( 'GUI' );
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:26,代码来源:backend.php

示例6: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     $this->instance = get_instance();
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->load->library('install');
     $this->load->library('file');
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     if ($this->instance->db_connected()) {
         $this->load->library('users_global');
         $this->data['options'] = get_meta('all');
         trigger_inits();
         // For Core menu extension, they are called after default menu.
         /**
          * 	Declare Notices : Notices are internal(system) or module/theme alert.
          **/
         set_core_vars('tendoo_notices', trigger_filters('declare_notices', array(get_core_vars('default_notices'))));
         // @since 1.4
     } else {
         $this->users_global = FALSE;
         $this->data['options'] = FALSE;
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:25,代码来源:error.php

示例7: __construct

 function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'pages_editor');
     $this->_before_boot();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:7,代码来源:library.php

示例8: __construct

 public function __construct()
 {
     __extends($this);
     // getting tendoo code libs
     $this->__check_current_sitemap();
     // check current site map.
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:7,代码来源:Tendoo_sitemap.Class.php

示例9: __construct

 function __construct($module)
 {
     __extends($this);
     $this->module = $module;
     if (!class_exists('News_smart')) {
         include_once $this->module['uri_path'] . 'library.php';
     }
     $this->lib = new News_smart();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:9,代码来源:recentspost.php

示例10: __construct

 public function __construct()
 {
     parent::__construct();
     __extends($this);
     $this->cur_module = get_modules('filter_active_namespace', 'blogster');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = $this->cur_module['uri_path'];
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:10,代码来源:widget_comments_config.php

示例11: __construct

 public function __construct($data)
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->module = get_core_vars('opened_module');
     $this->lib = new page_library();
     $this->data = array();
     $this->data['current_page'] = get_core_vars('page');
     set_bread(array('link' => get_instance()->url->site_url(array($this->data['current_page'][0]['PAGE_CNAME'])), 'text' => $this->data['current_page'][0]['PAGE_CNAME']));
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:12,代码来源:frontend.php

示例12: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->cur_module = get_modules('filter_active_namespace', 'pages_editor');
     $this->encrypted_dir =& $this->cur_module['encrypted_dir'];
     $this->cur_module_dir = MODULES_DIR . $this->encrypted_dir;
     $this->data = array();
     $this->data['cur_module'] =& $this->cur_module;
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:12,代码来源:show_page_hierarchy_config.php

示例13: __construct

 public function __construct($data)
 {
     __extends($this);
     include_once $data['theme'][0]['encrypted_dir'] . '/library.php';
     $this->lib = new nevia_theme_library($data);
     // Définition des chemins d'accès.
     $this->data['theme_details'] =& $this->data['Spetheme'][0];
     $this->location =& $this->data['Spetheme']['encrypted_dir'];
     $this->loadAccess = $this->data['loadAccess'] = THEMES_DIR . $this->location . '/';
     // LOADING VIEW //
     $this->data['tendoo_head'] = $this->load->view(VIEWS_DIR . '/admin/inner_head', $this->data, true, TRUE);
     $this->data['tendoo_left_menu'] = $this->load->view(VIEWS_DIR . '/admin/left_menu', $this->data, true, TRUE);
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:13,代码来源:admin_controller.php

示例14: __construct

 public function __construct()
 {
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     parent::__construct();
     __extends($this);
     // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     $this->instance = get_instance();
     $this->theme = get_core_vars('active_theme');
     $this->data = array();
     // Inclusion du ficher "library.php".
     if (file_exists(THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php')) {
         include_once THEMES_DIR . $this->theme['encrypted_dir'] . '/library.php';
     }
     $this->output_files();
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:15,代码来源:handler.php

示例15: __construct

 public function __construct($data)
 {
     parent::__construct();
     __extends($this);
     $this->module = get_modules('filter_namespace', 'tendoo_widget_administrator');
     $this->load->library('tendoo_admin', null, 'admin');
     if (defined('SCRIPT_CONTEXT')) {
         if (SCRIPT_CONTEXT == 'ADMIN') {
             $this->admin_context();
             // get_instance()->tendoo_admin->system_not('2 Nouveaux commentaires disponibles', 'Deux nouveaux commentaires sont dans la liste d\'attentes des [Lire la suite] ', '#', '10 mai 2013', null);
         } else {
             $this->public_context();
         }
         $this->both_context();
     }
 }
开发者ID:RodolfoSilva,项目名称:tendoo-cms,代码行数:16,代码来源:init.php


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