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


PHP Overrider类代码示例

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


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

示例1: render

 public static function render($layout, $displayData)
 {
     if ($file = Overrider::getOverride('lyt.' . $layout, '', true)) {
         $layoutHelper = new JLayoutHelper();
         $layoutHelper->doRender($layout, $displayData, $file);
     }
 }
开发者ID:kylephp,项目名称:wright,代码行数:7,代码来源:jlayouthelper.php

示例2: defined

<?php

/**
 * @version		$Id: default.php 22355 2011-11-07 05:11:58Z github_bot $
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
include Overrider::getOverride('com_content.category', 'blog_children');
开发者ID:prox91,项目名称:joomla-dev,代码行数:14,代码来源:blog_children.php

示例3:

<?php

/*
 * You can change this to a normal override. This is just in place to help manage
 * the default set of overrides we have in our template framework.
 */
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
require Overrider::getOverride('mod_articles_category');
开发者ID:prox91,项目名称:joomla-dev,代码行数:9,代码来源:default.php

示例4: defined

<?php

/**
 * @package     Wright
 * @subpackage  HTML Layouts
 *
 * @copyright   Copyright (C) 2005 - 2015 Joomlashack.  Meritage Assets.  All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
include Overrider::getOverride('lyt.joomla.content.info_block.create_date');
开发者ID:kylephp,项目名称:wright,代码行数:14,代码来源:create_date.php

示例5: defined

<?php

/**
 * @version		$Id: default.php 22355 2011-11-07 05:11:58Z github_bot $
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
include Overrider::getOverride('com_finder.search');
开发者ID:prox91,项目名称:joomla-dev,代码行数:14,代码来源:default.php

示例6: defined

<?php

/**
 * @package     Wright
 * @subpackage  Overrider
 *
 * @copyright   Copyright (C) 2005 - 2015 Joomlashack. Meritage Assets.  All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
require Overrider::getOverride('mod_search');
开发者ID:kylephp,项目名称:wright,代码行数:14,代码来源:default.php

示例7: defined

<?php

/**
 * @package     Wright
 * @subpackage  Overrider
 *
 * @copyright   Copyright (C) 2005 - 2015 Joomlashack. Meritage Assets.  All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
include Overrider::getOverride('com_contact.contact', 'default_links');
开发者ID:kylephp,项目名称:wright,代码行数:14,代码来源:default_links.php

示例8: defined

<?php

/**
 * @package     Wright
 * @subpackage  Overrider
 *
 * @copyright   Copyright (C) 2005 - 2015 Joomlashack. Meritage Assets.  All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
include Overrider::getOverride('com_newsfeeds.newsfeed');
开发者ID:kylephp,项目名称:wright,代码行数:14,代码来源:default.php

示例9: defined

<?php

/**
 * @package     Wright
 * @subpackage  Overrider
 *
 * @copyright   Copyright (C) 2005 - 2015 Joomlashack. Meritage Assets.  All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
// No direct access.
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once JPATH_THEMES . '/' . $app->getTemplate() . '/' . 'wright' . '/' . 'html' . '/' . 'overrider.php';
require Overrider::getOverride('mod_menu', 'default_url');
开发者ID:kylephp,项目名称:wright,代码行数:14,代码来源:default_url.php

示例10: getVersion

 public static function getVersion()
 {
     if (!isset(self::$version)) {
         jimport('joomla.version');
         $version = new JVersion();
         self::$version = explode('.', $version->RELEASE);
     }
     return self::$version;
 }
开发者ID:kylephp,项目名称:wright,代码行数:9,代码来源:overrider.php


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