コード例 #1
0
ファイル: Config.php プロジェクト: ronseigel/agent-ohm
 *
 * 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 <*****@*****.**>
 */
class Mage_Core_Model_Config extends Mage_Core_Model_Config_Base
{
    const CACHE_TAG = 'config';
    /**
     * Flag which allow use cache logic
     *
     * @var bool
コード例 #2
0
ファイル: Layout.php プロジェクト: ronseigel/agent-ohm
 *
 * 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;
    /**
コード例 #3
0
ファイル: Front.php プロジェクト: ronseigel/agent-ohm
 * 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;
コード例 #4
0
ファイル: App.php プロジェクト: ronseigel/agent-ohm
 /**
  * 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;
 }