Class Mage_Adminhtml_Block_Widget_Grid_Serializer
-
Varien_Object
-
Mage_Core_Block_Abstract
-
Mage_Core_Block_Template
-
Mage_Adminhtml_Block_Widget_Grid_Serializer
Methods summary
public
Mage_Adminhtml_Block_Widget_Grid_Serializer
|
#
_construct( )
Set serializer template
Returns
Overrides
|
public
|
#
addColumnInputName( string $names )
Register grid column input name to serialize
Register grid column input name to serialize
Parameters
|
public
unknown
|
#
getColumnInputNames( mixed $asJSON = false )
Get grid column input names to serialize
Get grid column input names to serialize
Returns
unknown
|
public
string
|
|
public
|
#
initSerializerBlock( Mage_Adminhtml_Block_Widget_Grid $grid, string $callback, string $hiddenInputName, string $reloadParamName = 'entityCollection' )
Initialize grid block
Get grid block from layout by specified block name Get serialize data to
manage it (called specified method, that return data to manage) Also use reload
param name for saving grid checked boxes states
Parameters
- $grid
Mage_Adminhtml_Block_Widget_Grid
| string $grid grid object or grid block name
- $callback
string $callback block method to retrieve data to serialize
- $hiddenInputName
string $hiddenInputName hidden input name where serialized data will be store
- $reloadParamName
string $reloadParamName name of request parametr that will be used to save setted data
while reload grid
|
Methods inherited from Mage_Core_Block_Template
_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 summary
private
array
|
$_inputsToSerialize
|
array() |
#
Store grid input names to serialize
Store grid input names to serialize
|
Properties inherited from Mage_Core_Block_Abstract
$_alias,
$_anonSuffix,
$_childGroups,
$_children,
$_childrenHtmlCache,
$_frameCloseTag,
$_frameOpenTag,
$_isAnonymous,
$_layout,
$_messagesBlock,
$_nameInLayout,
$_parent,
$_parentBlock,
$_request,
$_sortInstructions,
$_sortedChildren,
$_urlModel
|