TableDataSet::__construct
(
Connection
$conn,
$tableName,
$p3 = null ,
$p4 = null
)
|
Construct new TableDataSet instance. Supports a few signatures:
|
string TableDataSet::tableName ( ) |
Gets the tableName defined in the schema
|
TableInfo TableDataSet::tableInfo ( ) |
Load the TableInfo (metadata) object for this table.
|
TableDataSet TableDataSet::fetchRecords
(
$p1 = 0 ,
$p2 = null
)
|
Fetch start to max records. start is at Record 0
|
Record TableDataSet::addRecord ( ) |
Creates a new Record within this DataSet
|
int TableDataSet::save ( ) |
Saves all the records in the DataSet.
|
void TableDataSet::removeDeletedRecords ( ) |
Removes any records that are marked as a zombie.
|
TableDataSet::setOptimisticLockingColumn ( $olc ) |
Sets the table column used for optomistic locking.
|
string TableDataSet::optimisticLockingCol ( ) |
Gets the table column used for optomistic locking.
|
instance TableDataSet::where ( $where ) |
Sets the value for the SQL portion of the WHERE statement.
|
string TableDataSet::getWhere ( ) |
Gets the value of the SQL portion of WHERE.
|
TableDataSet TableDataSet::order ( $order ) |
Sets the value for the SQL portion of the ORDER statement
|
string TableDataSet::getOrder ( ) |
Gets the value of the SQL portion of ORDER.
|
TableDataSet TableDataSet::other ( $other ) |
Sets the value for the SQL portion of the OTHER statement
|
string TableDataSet::getOther ( ) |
Gets the value of the SQL portion of OTHER.
|
void TableDataSet::refresh ( ) |
This method refreshes all of the Records stored in this TableDataSet.
|
true TableDataSet::setRefreshOnSave ( $v ) |
Setting this causes each Record to refresh itself when a save() is performed on it. Default value is false.
|
boolean TableDataSet::refreshOnSave ( ) |
Setting this causes each Record to refresh itself when a save() is performed on it. Default value is false.
|
SQL TableDataSet::getSelectSql ( ) |
Builds the select string that was used to populate this TableDataSet.
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|