当前位置: 首页>>代码示例>>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;未经允许,请勿转载。