Class Mage_Core_Model_Layout
Layout model
- Varien_Simplexml_Config
-
Mage_Core_Model_Layout
Package: Mage\Core
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Core/Model/Layout.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Core/Model/Layout.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
#
generateBlocks( Mage_Core_Layout_Element|null $parent = null )
Create layout blocks hierarchy from layout xml configuration |
protected
|
#
_generateBlock( Varien_Simplexml_Element $node, Varien_Simplexml_Element $parent )
Add block object to layout based on xml node data |
protected
|
#
_generateAction( Varien_Simplexml_Element $node, Varien_Simplexml_Element $parent )
Enter description here... |
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addBlock( string|
Add a block to registry, create new object if needed |
protected
|
#
_getBlockInstance( string $block, array $attributes = array() )
Create block object instance based on block type |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public static
string
|
#
findTranslationModuleName( Varien_Simplexml_Element $node )
Lookup module name for translation from current specified layout node |
protected
|
$_update |
|
#
Layout Update module |
protected
array
|
$_blocks | array() |
#
Blocks registry |
protected
array
|
$_output | array() |
#
Cache of block callbacks to output during rendering |
protected
string
|
$_area |
|
#
Layout area (f.e. admin, frontend) |
protected
array
|
$_helpers | array() |
#
Helper blocks cache for this layout |
protected
boolean
|
$_directOutput | false |
#
Flag to have blocks' output go directly to browser as oppose to return result |