| 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_Module_TableItem classAMI_ModTableItem | --AMI_Module_TableItem • IntroductionCommon module table item model. • Class synopsis/* Properties */
// Common fields validators
protected
array
$aCommonFieldsValidators = array(
'lang' => array('filled'),'header'=>array('filled','stop_on_error'),'announce'=>array('filled','stop_on_error'),'date_created'=>array('filled','stop_on_error'),'body'=>array('required'));
/* Inherited Properties */
// Element data
// Fields to load
// Tainted fields list
// Fields storing serialized data
// Iterator pointer
// Element id value
protected
AMI_ModTableItem::$id;
// Default value for empty element id
// DB query object
protected
AMI_ModTableItem::$oQuery;
// Module table model
protected
AMI_ModTableItem::$oTable;
// Primary column field name
/* Inherited Methods */
// Constructor.
public
AMI_ModTableItem::__construct ( AMI_ModTable $oTable, [ $oQuery = null ] ) returns AMI_ModTableItem;
// Adds fields to load.
public
AMI_ModTableItem::addFields ( [ $aFields = array('*') ], [ bool $reset = false ] ) returns AMI_ModTableItem;
// 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.
public
AMI_ModTableItem::getModLink ( [ string $locale = 'en' ], [ int $pageId = 0 ] ) returns string|false;
// 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 data array.
public
AMI_ModTableItem::setData ( $aData, [ bool $bAppend = false ], [ bool $bSetPK = false ] ) returns AMI_ModTableItem;
// Sets field callback on AMI_ModTableItem::__get() and AMI_ModTableItem::__set().
public
AMI_ModTableItem::setFieldCallback ( string $field, callback $callback ) returns AMI_ModTableItem;
// Sets origin fields.
public
AMI_ModTableItem::setOriginFields ( $aFields, [ bool $bAsHash = false ], [ bool $bAppend = true ] ) returns AMI_ModTableItem;
// Sets model values from array.
// Checks if current position is valid.
// Destructor.
// Property access getter.
// Property access getter.
// Property access setter.
// Property access setter.
// Serialized field callback.
// Returns table item modifier object.
}
Tags:
• Class Properies
|