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
Classes:
|
Loading search... The EshopItemProps_TableItem classAMI_ModTableItem | --AMI_Module_TableItem | --EshopItemProps_TableItem • IntroductionEshop props table item model. • Class synopsis/* Inherited Properties */
// Common fields validators
protected
AMI_Module_TableItem::$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'));
// 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.
// 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 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:
|