Class Mage_Page_Block_Html_Wrapper
A generic wrapper block that renders its children and supports a few
parameters of the wrapper HTML-element
-
Varien_Object
-
Mage_Core_Block_Abstract
-
Mage_Page_Block_Html_Wrapper
Methods summary
protected
string
|
#
_toHtml( )
Render the wrapper element html Supports different optional parameters, set
in data by keys:
- element_tag_name (div by default)
- element_id
- element_class
- element_other_attributes
Render the wrapper element html Supports different optional parameters, set
in data by keys:
- element_tag_name (div by default)
- element_id
- element_class
- element_other_attributes
Renders all children inside the element.
Returns
string
Overrides
|
public
string
|
#
getElementTagName( )
Wrapper element tag name getter
Wrapper element tag name getter
Returns
string
|
public
Mage_Page_Block_Html_Wrapper
|
#
dependsOnChildren( mixed $depends = '0' )
Setter whether this block depends on children
Setter whether this block depends on children
Parameters
Returns
|
protected
boolean
|
#
_isInvisible( )
Whether the wrapper element should be eventually rendered If it becomes
"invisible", the behaviour will be somewhat similar to core/text_list
Whether the wrapper element should be eventually rendered If it becomes
"invisible", the behaviour will be somewhat similar to core/text_list
Returns
boolean
|
Methods inherited from Mage_Core_Block_Abstract
__(),
_afterCacheUrl(),
_afterToHtml(),
_beforeCacheUrl(),
_beforeChildToHtml(),
_beforeToHtml(),
_construct(),
_getChildHtml(),
_getSidPlaceholder(),
_getUrlModel(),
_getUrlModelClass(),
_loadCache(),
_prepareLayout(),
_saveCache(),
addToChildGroup(),
addToParentGroup(),
append(),
countChildren(),
escapeHtml(),
escapeUrl(),
formatDate(),
formatTime(),
getAction(),
getAnonSuffix(),
getBlockAlias(),
getBlockHtml(),
getCacheKey(),
getCacheKeyInfo(),
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 summary
protected
boolean
|
$_dependsOnChildren
|
true |
#
Whether block should render its content if there are no children (no)
Whether block should render its content if there are no children (no)
|
Properties inherited from Mage_Core_Block_Abstract
$_alias,
$_anonSuffix,
$_childGroups,
$_children,
$_childrenHtmlCache,
$_frameCloseTag,
$_frameOpenTag,
$_isAnonymous,
$_layout,
$_messagesBlock,
$_nameInLayout,
$_parent,
$_parentBlock,
$_request,
$_sortInstructions,
$_sortedChildren,
$_urlModel
|