| 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_ArrayIteratorList class• IntroductionModule iterator list model. • Class synopsis
AMI_ArrayIteratorList
implements AMI_iModTableList, Iterator (internal interface)
{
/* Properties */
// Recordset columns
// Search condition
// Processed data array
// Primary keys array
// Raw data array
// Current iterator element index
// Limit read
// Default list mask
// AMI_ArrayIterator object
// Search position
// Sort direction (PHP constant)
// Field to sort by
// Start read position
// Number of found rows
/* Methods */
// Initializing array data.
public
__construct ( AMI_ArrayIterator $oIterator, [ string $mask = null ] ) returns AMI_ArrayIteratorList;
// Necessary for AMI_ModTableList compatibility.
// Necessary for AMI_ModTableList compatibility.
// Necessary for AMI_ModTableList compatibility.
public
addExpressionColumn ( string $name, string $expression, [ string $model = '' ] ) returns AMI_ArrayIteratorList;
// Necessary for AMI_ModTableList compatibility.
// Sets order parameters.
// Adds search condition.
// Necessary for AMI_ModTableList compatibility.
// Counts elements of an object.
// Returns the current element.
// Excludes fields not from available list.
// Returns array of available fields.
// Necessary for AMI_ModTableList compatibility.
// Returns an array with list keys.
// Necessary for AMI_ModTableList compatibility.
// Get the number of found rows when bCalcFoundRows is true.
// Gets position of the applied element.
// Returns primary key field name.
// Necessary for AMI_ModTableList compatibility.
// Returns sort field.
// Returns TRUE if list model has passed column .
public
hasColumn ( string $column, [ string $alias = '' ], [ bool $bAppendEventFields = TRUE ] ) returns bool;
// Returns the key of the current element.
// Loads data from array and init recordset.
// Fills array aData with the current page items.
// Move forward to the next element.
// Rewinds the Iterator to the first element.
// Seeks to a position.
// Sets limit parameters.
// Sets module id.
// Sorts aData list by field.
// Forms an array with list keys.
// Checks if current position is valid.
// Filter raw data array by conditions.
// Returns module id.
// Filter callback function.
}
Tags:
• Class Properies
• Class Methods// Initializing array data.
public
__construct ( AMI_ArrayIterator $oIterator, [ string $mask = null ] ) returns AMI_ArrayIteratorList;
// Necessary for AMI_ModTableList compatibility.
Implementation of: AMI_iModTableList::addCalcFoundRows(). // Necessary for AMI_ModTableList compatibility.
Implementation of: AMI_iModTableList::addColumns(). // Necessary for AMI_ModTableList compatibility.
public
addExpressionColumn ( string $name, string $expression, [ string $model = '' ] ) returns AMI_ArrayIteratorList;
// Sets order parameters.
Implementation of: AMI_iModTableList::addOrder(). // Adds search condition.
Tags:
// Necessary for AMI_ModTableList compatibility.
// Counts elements of an object.
Countable::count() implementation.
// Returns the current element.
Implementation of: Iterator::current. Iterator interface implementation.
// Excludes fields not from available list.
Implementation of: AMI_iModTableList::filterFields(). Wrapper for AMI_ArrayIterator::filterFields().
// Returns array of available fields.
Implementation of: AMI_iModTableList::getAvailableFields(). Wrapper for AMI_ArrayIterator::getAvailableFields().
Tags:
// Necessary for AMI_ModTableList compatibility.
// Returns an array with list keys.
// Necessary for AMI_ModTableList compatibility.
// Get the number of found rows when bCalcFoundRows is true.
Implementation of: AMI_iModTableList::getNumberOfFoundRows(). // Gets position of the applied element.
Implementation of: AMI_iModTableList::getPosition(). // Returns primary key field name.
// Necessary for AMI_ModTableList compatibility.
// Returns sort field.
// Returns TRUE if list model has passed column .
public
hasColumn ( string $column, [ string $alias = '' ], [ bool $bAppendEventFields = TRUE ] ) returns bool;
// Returns the key of the current element.
Implementation of: Iterator::key. Iterator interface implementation.
// Loads data from array and init recordset.
Implementation of: AMI_iModTableList::load(). // Fills array aData with the current page items.
// Move forward to the next element.
Implementation of: Iterator::next. Iterator interface implementation.
// Rewinds the Iterator to the first element.
Implementation of: Iterator::rewind. Iterator interface implementation.
// Seeks to a position.
SeekableIterator::seek() implementation.
// Sets limit parameters.
Implementation of: AMI_iModTableList::setLimitParameters(). // Sorts aData list by field.
// Forms an array with list keys.
// Checks if current position is valid.
Implementation of: Iterator::valid. Iterator interface implementation.
// Filter raw data array by conditions.
// Returns module id.
Overridden in child classes as: AMI_ModSpecblock_ArrayIteratorList::getModId(). // Filter callback function.
|