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


PHP AO::includeFile方法代码示例

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


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

示例1:

 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   Mage
 * @package	   Mage_Core
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license	   http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *
 * @ao-modified
 * @ao-copyright 2009 Mark Kimsal
 */
AO::includeFile('Mage/Model/Config_Base');
/**
 * Core configuration class
 *
 * Used to retrieve core configuration values
 *
 * @link	   http://var-dev.varien.com/wiki/doku.php?id=magento:api:mage:core:config
 * @author		Magento Core Team <core@magentocommerce.com>
 */
class Mage_Core_Model_Config extends Mage_Core_Model_Config_Base
{
    const CACHE_TAG = 'config';
    /**
     * Flag which allow use cache logic
     *
     * @var bool
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:31,代码来源:Config.php

示例2:

 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   Mage
 * @package    Mage_Core
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *
 * @ao-modified
 * @ao-copyright 2009 Mark Kimsal
 */
AO::includeFile('Mage/Core/Block/Template');
/**
 * Layout model
 *
 * @category   Mage
 * @package    Mage_Core
 */
class Mage_Core_Model_Layout extends Varien_Simplexml_Config
{
    /**
     * Layout Update module
     *
     * @var Mage_Core_Layout_Update
     */
    protected $_update;
    /**
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:31,代码来源:Layout.php

示例3: setDefault

 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   Mage
 * @package    Mage_Core
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 *
 * @ao-modified
 * @ao-copyright 2009 Mark Kimsal
 */
AO::includeFile('Mage/Core/Controller/Varien/Router/Abstract');
AO::includeFile('Mage/Core/Controller/Front/Action');
class Mage_Core_Controller_Varien_Front extends Varien_Object
{
    protected $_defaults = array();
    /**
     * Available routers array
     *
     * @var array
     */
    protected $_routers = array();
    protected $_urlCache = array();
    const XML_STORE_ROUTERS_PATH = 'web/routers';
    public function setDefault($key, $value = null)
    {
        if (is_array($key)) {
            $this->_defaults = $key;
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:31,代码来源:Front.php

示例4: _initFrontController

 /**
  * Initialize application front controller
  *
  * @return Mage_Core_Model_App
  */
 protected function _initFrontController()
 {
     AO::includeFile('Mage/Core/Controller/Varien/Front');
     AO::includeFile('Mage/Core/Model/Session');
     $this->_frontController = new Mage_Core_Controller_Varien_Front();
     if (VPROF) {
         Varien_Profiler::start('mage::app::init_front_controller');
     }
     $this->_frontController->init();
     if (VPROF) {
         Varien_Profiler::stop('mage::app::init_front_controller');
     }
     return $this;
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:19,代码来源:App.php


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