| Amiro.Ru / Manual | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Packages:
DB Debug Driver_PaymentSystem Environment Library Module ModuleComponent Package Plugin Plugin_AJAXResponder Plugin_Sample Service Template TxCommand TxService Hyper_AmiCatalog Hyper_AmiClean Hyper_AmiEshopShipping Hyper_AmiExt Hyper_AmiFiles Hyper_AmiMultifeeds Hyper_AmiSearch Hyper_AmiUsers Config_AmiCatalog_Items Config_AmiClean_AmiNewsList Config_AmiClean_AmiSample Config_AmiClean_EshopOrder Config_AmiClean_Webservice Config_AmiEshopShipping_Fields Config_AmiEshopShipping_Methods Config_AmiEshopShipping_Types Config_AmiFake_AmiroPayDrvExample Config_AmiFiles_Files Config_AmiMultifeeds_Articles Config_AmiMultifeeds_Blog Config_AmiMultifeeds_FAQ Config_AmiMultifeeds_News Config_AmiMultifeeds_PhotoGallery Config_AmiMultifeeds_Stickers Config_AmiUsers_Users Module_Catalog Module_Pages Module_Sample Module_SearchHistory
Interfaces:
Classes:
Model
AMI_ArrayIterator AMI_ArrayIteratorItem AMI_ArrayIteratorList AMI_CatModTable AMI_CatModTableItem AMI_CatModTableList AMI_CatModule_FilterModelAdm AMI_CatModule_TableItemModifier AMI_Filter AMI_ModSpecblock_ArrayIterator AMI_ModSpecblock_ArrayIteratorItem AMI_ModSpecblock_ArrayIteratorList AMI_ModTable AMI_ModTableItem AMI_ModTableItemException AMI_ModTableItemMeta AMI_ModTableItemModifier AMI_ModTableList AMI_Module_FilterModelAdm AMI_Module_TableItem AMI_Module_TableItemModifier
Controller
AMI_CatModule_FilterAdm AMI_CatModule_FormAdm AMI_CatModule_ListActionsAdm AMI_CatModule_ListAdm AMI_CatModule_ListGroupActionsAdm AMI_CustomComponent AMI_ModCatsFrn AMI_ModComponent AMI_ModDetails AMI_ModEmptyFrn AMI_ModEmptyView AMI_ModFilter AMI_ModFilterAdm AMI_ModForm AMI_ModFormAdm AMI_ModItemsFrn AMI_ModList AMI_ModListActions AMI_ModListAdm AMI_ModListAdmCommon AMI_ModListGroupActions AMI_ModSpecblock AMI_ModSpecblockList AMI_Module_FilterAdm AMI_Module_FormAdm AMI_Module_ListActionsAdm AMI_Module_ListAdm AMI_Module_ListGroupActionsAdm
View
AMI_CatModule_FilterViewAdm AMI_CatModule_FormViewAdm AMI_CatModule_ListViewAdm AMI_CustomComponentView AMI_ModCatsView AMI_ModCommonViewFrn AMI_ModDetailsView AMI_ModFilterView AMI_ModFilterViewAdm AMI_ModFormView AMI_ModFormViewAdm AMI_ModFormViewFrn AMI_ModItemsView AMI_ModListView AMI_ModListView_JSON AMI_ModPlaceholderView AMI_ModSpecblockListView AMI_ModSubitemsView AMI_Module_FilterViewAdm AMI_Module_FormViewAdm AMI_Module_ListViewAdm AMI_View AMI_ViewEmpty |
Loading search... The AMI_ModListView classAMI_View | --AMI_ModPlaceholderView | --AMI_ModListView • IntroductionModule list component view abstraction. • Class synopsis/* Properties */
// Column rules object
// Column layouts
// Columns array
// Columns types
// List default elements template (placeholders)
protected
array
$aPlaceholders = array(
'#list_header',
'#flags', 'position', 'public', 'flags',
'#common', 'date_created', 'cat_header', 'common',
'#columns', 'columns',
'#actions', 'front_view', 'edit', 'actions',
'list_header'
);
// Sort columns list
// Body column set name
// Body row set name
// Body set name
// Footer set name
// Header column set name
// Header row set name
// Header set name
// List set name
// Model typification
// Order column
// Order column direction
/* Inherited Properties */
// Locale
// Scope
// Locale file name
// Template block name
// Template file name
/* Methods */
// Add column into array.
// Adds column (if not added yet) and its type for corresponding column.
// Adding order.
// Adds column formatter.
public
formatColumn ( string $column, callback $callback, [ $aArgs = array() ] ) returns AMI_ModListView;
// Allows modify the value of a cell in the list.
// Return columns for list model.
// Getting sorting order.
// Getting sorting direction.
// Returns sortable columns.
// Remove column.
// Sets fixed column alignment.
// Sets fixed column class name.
// Sets fixed column layout.
// Sets fixed column width.
// Adds sort columns.
// Displays image in separate column if (bool)value is TRUE.
// Date/time formatter.
// Encodes column value.
// Extended Date/time formatter. For FMT_DATEs Replaces yesterday date by localized word "yesterday" (today, tommorow).
// Replaces column value by its localized caption.
// Strips tags from column value.
// Truncates column value.
// Model typification.
/* Inherited Methods */
// Constructor.
// Add new field placeholders into placeholder list using AMI_ModPlaceholderView::putPlaceholder() without sections.
// Puts placeholder into required position.
public
AMI_ModPlaceholderView::putPlaceholder ( string $name, [ string $positions = '' ], [ bool $isSection = false ] ) returns bool|int;
// Constructor.
// Adds locale.
// Adds script code.
// Adds script file.
// Returns view data.
// Returns prepared view scope.
// Initialize, processing after setting model.
// Adds locale from resource.
// Set module id.
// Sets view scope.
// Returns module id.
// Returns module specific locale path.
// Returns template object.
// Parses block template and returns the result as a string.
// Sets up model object.
}
Tags:
• Class Properies
• Class Methods// Add column into array.
// Adds column (if not added yet) and its type for corresponding column.
List loads column types from fields added by AMI_ModFormView::addField(). Other fields has 'text' type by default, call this method to change default 'text' type. Also virtual fields should be added calling this method to be visible in the list. See AmiSample_ListViewAdm for usage example. Example:
// Adding order.
// Adds column formatter.
public
formatColumn ( string $column, callback $callback, [ $aArgs = array() ] ) returns AMI_ModListView;
Passed $aArgs always contain 'aScope' (array, list view scope) and oItem (AMI_ModTableItem, current list item model). Example:
Tags:
// Allows modify the value of a cell in the list.
Overrides: AMI_View::get(). Overridden in child classes as: AMI_ModListView_JSON::get(), AMI_ModCatsView::get(), Hyper_AmiMultifeeds_CatsViewFrn::get(), Hyper_AmiMultifeeds_StickyCatsViewFrn::get(), AMI_ModItemsView::get(), Hyper_AmiClean_ItemsViewFrn::get(), Hyper_AmiMultifeeds_ItemsViewFrn::get(), Hyper_AmiMultifeeds_StickyItemsViewFrn::get(), Hyper_AmiMultifeeds_SpecblockViewFrn::get(), Hyper_AmiMultifeeds_BrowseItemsViewFrn::get(). // Return columns for list model.
Return columns added by AMI_ModListView::addColumn(). Can be overridden in child classes to cancel previously added columns. Example:
Tags:
// Getting sorting order.
// Getting sorting direction.
// Returns sortable columns.
Tags:
// Remove column.
Tags:
// Sets fixed column alignment.
Tags:
// Sets fixed column class name.
Tags:
// Sets fixed column layout.
Tags:
// Sets fixed column width.
Tags:
// Adds sort columns.
Example:
Tags:
// Displays image in separate column if (bool)value is TRUE.
Common column formatter. Example:
Tags:
// Date/time formatter.
Common column formatter.
Tags:
// Encodes column value.
Common column formatter.
Tags:
// Extended Date/time formatter. For FMT_DATEs Replaces yesterday date by localized word "yesterday" (today, tommorow).
Common column formatter.
Tags:
// Replaces column value by its localized caption.
Common column formatter.
Tags:
// Strips tags from column value.
Common column formatter.
Tags:
// Truncates column value.
Common column formatter.
Tags:
// Model typification.
Overrides: AMI_View::_setModel(). Overridden in child classes as: AMI_ModSubitemsView::_setModel(). |