本文整理汇总了PHP中Overrider::getOverride方法的典型用法代码示例。如果您正苦于以下问题:PHP Overrider::getOverride方法的具体用法?PHP Overrider::getOverride怎么用?PHP Overrider::getOverride使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Overrider
的用法示例。
在下文中一共展示了Overrider::getOverride方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render
public static function render($layout, $displayData)
{
if ($file = Overrider::getOverride('lyt.' . $layout, '', true)) {
$layoutHelper = new JLayoutHelper();
$layoutHelper->doRender($layout, $displayData, $file);
}
}
示例2:
<?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');
示例3: 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');
示例4: 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');
示例5: 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');
示例6: 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.author');
示例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.category', 'default_items');
示例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';
require Overrider::getOverride('mod_menu', 'default_url');
示例9: 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');