Todo List
DObject | --DDataBase | --DTableShell
[line 225]
[line 204]
[line 185]
[line 192]
[line 178]
[line 210]
[line 198]
[line 158]
[line 164]
[line 171]
[line 115]
[line 121]
[line 145]
[line 133]
[line 109]
[line 127]
[line 151]
[line 139]
static DTableShell &getInstance( [string $shellConfigXML = null], [string $set = PHP_DDATABASE_DEFAULT_SET])
DTableShell __construct( string $shellConfigXML, [string $set = PHP_DDATABASE_DEFAULT_SET])
Overridden in child classes as:
void deleteFromDB( mixed $conditions)
array extendValidatePOSTArray( [bool $checkForRequire = true], [bool $checkForTypes = true], [bool $checkForUnique = true], [ $editIdentifier = ""])
int getConditionedCount( [mixed $conditions = null])
object getExtraParameter( string $name)
array getFields( )
string getFieldTypeProperty( string $field, string $property)
integer getLastInsertID( )
int getLatestInsertId( )
array getRequiredMisses( )
DSafeArray getSafeFields( )
DSafeArray getSafeSingleRecord( )
string getSchemaName( )
string getShellConfigXML( )
array getSingleRecord( )
In case of multirow query result it will return only the first one. In case of no result it will return empty array
DTableSQLExplorer getSQLExporterInstance( )
array getTableDetails( )
object getTableFieldValue( string $key)
string getTableName( )
array getTypeProblems( )
array getUniqueDoubles( )
array getValidatorErrors( )
void initInstance( string $shellConfigXML, [string $set = PHP_DDATABASE_DEFAULT_SET])
void loadDataFromArray( $arrayData, [boolean $nullEmpty = false], [boolean $nullMissing = false])
mixed loadDataFromDB( [ $conditions = null], [integer $page = DTableShell::NO_PAGING], [integer $itemsPerPage = PHP_DDATABASE_DEFAULT_ITEMS_PER_PAGE], mixed $conditions)
void loadDataFromPOSTArray( $arrayData, [boolean $nullEmpty = false], [boolean $nullMissing = false])
void resetExtraParameters( )
boolean saveDataToDB( [string $extraWhereClause = ""])
array search( [string $searchValue = null], [int $itemsPerPage = PHP_DDATABASE_DEFAULT_ITEMS_PER_PAGE], [int $currentPage = DTableShell::NO_PAGING], [mixed $orderBy = ""], [mixed $excludeFields = null], [string $where = ""], [pointer &$resultCount = 0])
void setExtraParameter( string $name, object $value)
void setFieldTypeProperty( string $field, string $property, string $value)
void setRequiredStatus( string $field, [boolean $status = false])
void setTableName( string $tableName)
Most of the times used to set up table aliases
void setType( string $field, [string $type = "text"])
mixed validatePOSTArray( [boolean $checkForUnique = true], [string $editIdentifier = ""])
boolean validatePOSTArraySpecific( string $validateMode)
boolean _isDateTime( string $fieldKey)
boolean _isEmail( string $fieldKey)
boolean _isFloat( string $fieldKey)
boolean _isInt( string $fieldKey)
boolean _isNULLable( string $fieldKey)
Usually used in foreign key fields - they cannot be set to 0, but to null. In the same place int fields that are required cannot accept null, but 0.
boolean _isQuotable( string $fieldKey)
boolean _isRegularColumn( string $fieldKey)
void _isText( $fieldKey)
[line 73]
[line 83]
[line 78]
[line 68]
[line 103]
[line 93]
[line 88]
[line 98]