Class Mage_Core_Block_Template_Facade
Block, that can get data from layout or from registry. Can compare its data
values by specified keys
-
Varien_Object
-
Mage_Core_Block_Abstract
-
Mage_Core_Block_Template
-
Mage_Core_Block_Template_Facade
Methods summary
public
|
#
setDataByKey( string $key, string $value )
Just set data, like Varien_Object
Just set data, like Varien_Object
This method is to be used in layout. In layout it can be understood better,
than setSomeKeyBlahBlah()
Parameters
- $key
string $key
- $value
string $value
|
public
|
#
setDataByKeyFromRegistry( string $key, string $registryKey )
Also set data, but take the value from registry by registry key
Also set data, but take the value from registry by registry key
Parameters
- $key
string $key
- $registryKey
string $registryKey
|
public
boolean
|
#
ifEquals( array $conditionKeys )
Check if data values by specified keys are equal $conditionKeys can be array
or arbitrary set of params (func_get_args())
Check if data values by specified keys are equal $conditionKeys can be array
or arbitrary set of params (func_get_args())
Parameters
- $conditionKeys
array $conditionKeys
Returns
boolean
|
Methods inherited from Mage_Core_Block_Template
_construct(),
_getAllowSymlinks(),
_toHtml(),
assign(),
fetchView(),
getArea(),
getBaseUrl(),
getCacheKeyInfo(),
getDirectOutput(),
getJsUrl(),
getObjectData(),
getShowTemplateHints(),
getTemplate(),
getTemplateFile(),
renderView(),
setScriptPath(),
setTemplate()
|
Methods inherited from Mage_Core_Block_Abstract
__(),
_afterCacheUrl(),
_afterToHtml(),
_beforeCacheUrl(),
_beforeChildToHtml(),
_beforeToHtml(),
_getChildHtml(),
_getSidPlaceholder(),
_getUrlModel(),
_getUrlModelClass(),
_loadCache(),
_prepareLayout(),
_saveCache(),
addToChildGroup(),
addToParentGroup(),
append(),
countChildren(),
escapeHtml(),
escapeUrl(),
formatDate(),
formatTime(),
getAction(),
getAnonSuffix(),
getBlockAlias(),
getBlockHtml(),
getCacheKey(),
getCacheLifetime(),
getCacheTags(),
getChild(),
getChildChildHtml(),
getChildData(),
getChildGroup(),
getChildHtml(),
getHelper(),
getIsAnonymous(),
getLayout(),
getMessagesBlock(),
getModuleName(),
getNameInLayout(),
getParentBlock(),
getRequest(),
getSkinUrl(),
getSortedChildBlocks(),
getSortedChildren(),
getUrl(),
getUrlBase64(),
getUrlEncoded(),
helper(),
insert(),
jsQuoteEscape(),
setAnonSuffix(),
setAttribute(),
setBlockAlias(),
setChild(),
setFrameTags(),
setIsAnonymous(),
setLayout(),
setMessagesBlock(),
setNameInLayout(),
setParentBlock(),
sortChildren(),
stripTags(),
toHtml(),
unsetCallChild(),
unsetChild(),
unsetChildren()
|
Properties inherited from Mage_Core_Block_Abstract
$_alias,
$_anonSuffix,
$_childGroups,
$_children,
$_childrenHtmlCache,
$_frameCloseTag,
$_frameOpenTag,
$_isAnonymous,
$_layout,
$_messagesBlock,
$_nameInLayout,
$_parent,
$_parentBlock,
$_request,
$_sortInstructions,
$_sortedChildren,
$_urlModel
|