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 KbItemProps_TableList classAMI_ModTableList | --KbItemProps_TableList • IntroductionKb props table list model. • Class synopsis/* Inherited Properties */
// Recordset columns
// Expression columns struct
// Do calculate found rows
// Number of found rows (works only when bCalcFoundRows is true).
// DB_Query object
protected
AMI_ModTableList::$oQuery;
// DB recordset
protected
AMI_ModTableList::$oRS;
// AMI_ModTable object
protected
AMI_ModTableList::$oTable;
/* Inherited Methods */
// Initializing table list data.
// Set the SQL_CALC_FOUND_ROWS selection flag.
// Repairs item position.
// Adds several columns at time for list selection.
// Adds expression column to list selection.
public
AMI_ModTableList::addExpressionColumn ( string $name, DB_Snippet|string $expression, [ string $model = '' ] ) returns AMI_ModTableList;
// Adds expression to selection.
public
AMI_ModTableList::addExpressionField ( DB_Snippet|string $expression ) returns AMI_ModTableList;
// Adds grouping.
// Adds having definition.
// Adds navigation columns.
// Adds order.
public
AMI_ModTableList::addOrder ( string $field, [ string $direction = '' ] ) returns AMI_ModTableList;
// Adds item search condition.
// Adds columns to SELECT from table in DB_Query.
// Adds where definition.
// Counts elements of an object.
// Returns the current element.
// Deletes column from list selection.
public
AMI_ModTableList::dropColumn ( string $name, [ string $model = '' ] ) returns AMI_ModTableList;
// Exludes fields not from available list.
// Returns array of available fields.
// Returns field name with its alias or expression.
public
AMI_ModTableList::getColumn ( string $column, [ string $alias = '' ], [ bool $bAppendEventFields = TRUE ] ) returns bool;
// Returns real field name by its alias.
// Make the query and return recordset for selected fields.
// Returns main table alias.
// Get the number of found rows when bCalcFoundRows is true.
// Gets position of the applied element.
public
AMI_ModTableList::getPosition ( string $fieldName, integer $appliedValue, integer $position ) returns integer;
// Returns table object.
// Returns TRUE if list model has passed column (including expression columns).
public
AMI_ModTableList::hasColumn ( string $column, [ string $alias = '' ], [ bool $bAppendEventFields = TRUE ] ) returns bool;
// Returns the key of the current element.
// Called before recordset initialization. Allows to add additional list query parameters.
// Move forward to next element.
// Forces list to collect page sublinks after all data loaded.
// Rewinds the Iterator to the first element.
// Seeks to a position.
// Sets having definition.
// Specifies to autoexlude or not invalid columns during AMI_ModTableList::addColumns().
// Sets a dependent model and loads its data to a new column $fieldAlias after the list data was loaded.
public
AMI_ModTableList::setLateDataBinding ( string $modelField, string $fieldAlias, string $bindedModel, string $bindedField, [ $oWhereDefSnippet = null ], [ string $bindedKey = null ], [ string $default = null ], [ $bindEnumerating = array() ] ) returns AMI_ModTableList;
// Sets limit parameters.
// Sets where definition.
// Checks if current position is valid.
// Destructor.
// Returns module id.
}
Tags:
|