本文整理汇总了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");
}
示例2: __construct
public function __construct($data = array())
{
parent::__construct();
__extends($this);
$this->data = $data;
$this->load->library('file');
}
示例3: __construct
function __construct($data)
{
__extends($this);
$this->data =& $data;
include_once $this->data['MODULE_DIR'] . '/library.php';
$this->lib = new News_smart();
}
示例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');
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
}
示例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' );
}
示例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;
}
}
示例7: __construct
function __construct()
{
parent::__construct();
__extends($this);
$this->module = get_modules('filter_namespace', 'pages_editor');
$this->_before_boot();
}
示例8: __construct
public function __construct()
{
__extends($this);
// getting tendoo code libs
$this->__check_current_sitemap();
// check current site map.
}
示例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();
}
示例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;
}
示例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']));
}
示例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;
}
示例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);
}
示例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();
}
示例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();
}
}