當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Overrider::getOverride方法代碼示例

本文整理匯總了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);
     }
 }
開發者ID:kylephp,項目名稱:wright,代碼行數:7,代碼來源:jlayouthelper.php

示例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');
開發者ID:prox91,項目名稱:joomla-dev,代碼行數:9,代碼來源:default.php

示例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');
開發者ID:kylephp,項目名稱:wright,代碼行數:14,代碼來源:default.php

示例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');
開發者ID:prox91,項目名稱:joomla-dev,代碼行數:14,代碼來源:default.php

示例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');
開發者ID:kylephp,項目名稱:wright,代碼行數:14,代碼來源:default.php

示例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');
開發者ID:kylephp,項目名稱:wright,代碼行數:14,代碼來源:author.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.category', 'default_items');
開發者ID:kylephp,項目名稱:wright,代碼行數:14,代碼來源:default_items.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';
require Overrider::getOverride('mod_menu', 'default_url');
開發者ID:kylephp,項目名稱:wright,代碼行數:14,代碼來源:default_url.php

示例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');
開發者ID:prox91,項目名稱:joomla-dev,代碼行數:14,代碼來源:blog_children.php


注:本文中的Overrider::getOverride方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。