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_Sape Config_AmiClean_Trustlink 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_Photoalbum 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_ModTableItem class• IntroductionModule table item model. • Class synopsis
AMI_ModTableItem
implements AMI_iModTableItem, Iterator (internal interface), AMI_iFormModTableItem
{
/* Properties */
// Element data
// Fields to load
// Tainted fields list
// Fields storing serialized data
// Iterator pointer
// Element id value
// Default value for empty element id
// DB query object
// Module table model
// Primary column field name
/* Methods */
// Constructor.
// Destructor.
// Adds fields to load.
// Returns aData setuped on loading.
// Returns the current element.
// Deletes item from table and clear data array.
// Returns data array.
// Returns difference from origin data.
// Returns item empty primary key value.
// Generates item module front link.
// Generates item full front URL.
// Returns current item primary key value.
// Returns module id.
// Returns link for current module & specific lang& pageID.
// Returns origin data.
// Returns origin fields as array having keys as field names and values as hashing flag.
// Returns primary key field name.
// Returns table object.
// Generates item front URL.
// Returns validator exception object validator after save or null.
// Returns field value from data array.
// Checks if the field has a specified callback.
// Returns the key of the current element.
// Loads data by specified condition or sets new item data.
// Move forward to next element.
// Resets primary key.
// Rewinds the Iterator to the first element.
// Saves current item data.
// Sets field callback on AMI_ModTableItem::__get() and AMI_ModTableItem::__set().
// Sets origin fields.
public
setOriginFields ( $aFields, [ bool $bAsHash = false ], [ bool $bAppend = true ] ) returns AMI_ModTableItem;
// Sets model values from array.
// Checks if current position is valid.
// Property access getter.
// Property access getter.
// Property access setter.
// Property access setter.
// Serialized field callback.
// Returns table item modifier object.
}
Tags:
• Class Properies
• Class Methods// Constructor.
Overridden in child classes as: AMI_CatModTableItem::__construct(), AmiCatalog_ItemsCat_TableItem::__construct(), Hyper_AmiFiles_Cat_TableItem::__construct(), AmiMultifeeds_StickersCat_TableItem::__construct(), AmiCatalog_Items_TableItem::__construct(), AmiEshopShipping_Fields_TableItem::__construct(), AmiEshopShipping_Methods_TableItem::__construct(), AmiEshopShipping_Types_TableItem::__construct(), AmiFiles_Files_TableItem::__construct(), AmiMultifeeds_Articles_TableItem::__construct(), AmiMultifeeds_Blog_TableItem::__construct(), AmiMultifeeds_Faq_TableItem::__construct(), AmiMultifeeds_News_TableItem::__construct(), AmiMultifeeds_Photoalbum_TableItem::__construct(), AmiMultifeeds_Stickers_TableItem::__construct(), EshopOrderItem_TableItem::__construct(), Pages_TableItem::__construct(), SearchHistory_TableItem::__construct(), AmiClean_EshopOrder_TableItem::__construct(), AmiUsers_Users_TableItem::__construct(), AmiClean_AmiSample_TableItem::__construct(), AmiSample_TableItem::__construct(). Initializes table item data.
// Destructor.
Tags:
// Adds fields to load.
Example:
Tags:
// Returns aData setuped on loading.
// Returns the current element.
Implementation of: Iterator::current. Iterator interface implementation.
// Deletes item from table and clear data array.
Overridden in child classes as: Pages_TableItem::delete(). Facade method for AMI_ModTableItemModifier::delete(). Example:
Tags:
// Returns data array.
Implementation of: AMI_iModTableItem::getData(). // Returns difference from origin data.
Example:
Tags:
// Returns item empty primary key value.
Tags:
// Generates item module front link.
// Generates item full front URL.
// Returns current item primary key value.
Implementation of: AMI_iFormModTableItem::getId(). // Returns module id.
Implementation of: AMI_iModTableItem::getModId(). // Returns link for current module & specific lang& pageID.
// Returns origin data.
Example:
Tags:
// Returns origin fields as array having keys as field names and values as hashing flag.
Tags:
// Returns primary key field name.
Implementation of: AMI_iModTableItem::getPrimaryKeyField(). // Returns table object.
// Generates item front URL.
// Returns validator exception object validator after save or null.
Implementation of: AMI_iFormModTableItem::getValidatorException(). Facade method for AMI_ModTableItemModifier::getValidatorException()
// Returns field value from data array.
Implementation of: AMI_iFormModTableItem::getValue(). // Checks if the field has a specified callback.
Implementation of: AMI_iModTableItem::hasFieldCallback(). Tags:
// Returns the key of the current element.
Implementation of: Iterator::key. Iterator interface implementation.
// Loads data by specified condition or sets new item data.
Implementation of: AMI_iModTableItem::load(). Overridden in child classes as: Pages_TableItem::load(), AmiUsers_Users_TableItem::load(). Tags:
// Move forward to next element.
Implementation of: Iterator::next. Iterator interface implementation.
// Resets primary key.
Tags:
// Rewinds the Iterator to the first element.
Implementation of: Iterator::rewind. Iterator interface implementation.
// Saves current item data.
Overridden in child classes as: AmiFiles_FilesCat_TableItem::save(), AmiMultifeeds_ArticlesCat_TableItem::save(), AmiMultifeeds_BlogCat_TableItem::save(), AmiMultifeeds_FaqCat_TableItem::save(), AmiMultifeeds_NewsCat_TableItem::save(), AmiMultifeeds_PhotoalbumCat_TableItem::save(), AmiMultifeeds_StickersCat_TableItem::save(), AmiFiles_Files_TableItem::save(), AmiMultifeeds_Articles_TableItem::save(), AmiMultifeeds_Blog_TableItem::save(), AmiMultifeeds_Faq_TableItem::save(), AmiMultifeeds_News_TableItem::save(), AmiMultifeeds_Photoalbum_TableItem::save(), AmiMultifeeds_Stickers_TableItem::save(), AmiClean_EshopOrder_TableItem::save(), AmiUsers_Users_TableItem::save(). Facade method for AMI_ModTableItemModifier::getValidatorException(). Example:
Tags:
// Sets field callback on AMI_ModTableItem::__get() and AMI_ModTableItem::__set().
Implementation of: AMI_iModTableItem::setFieldCallback(). Used for computational/virtual fields or to convert field value from/to internal/external format. Example:
Tags:
// Sets origin fields.
public
setOriginFields ( $aFields, [ bool $bAsHash = false ], [ bool $bAppend = true ] ) returns AMI_ModTableItem;
Example:
Tags:
// Sets model values from array.
Example:
Tags:
// Checks if current position is valid.
Implementation of: Iterator::valid. Iterator interface implementation.
// Property access getter.
Returns value from data array.
// Property access getter.
Check if key is exists in data array.
// Property access setter.
Sets value to data array.
// Property access setter.
Unsets value in data array by key.
// Serialized field callback.
Tags:
// Returns table item modifier object.
|