
Public Member Functions | |
| __get ($property) | |
| forceBools () | |
| timeStampField () | |
| notSQL () | |
Definition at line 288 of file aliroDatabaseRow.php.
| aliroDatabaseRow::__get | ( | $ | property | ) |
Definition at line 290 of file aliroDatabaseRow.php.
References aliroDBGeneralRow::getDatabase(), and T_().
00290 { 00291 $database = $this->getDatabase(); 00292 if ('_db' == $property) return $database; 00293 $field = $database->getFieldInfo ($this->tableName, $property); 00294 if (!is_object($field)) trigger_error(T_('Database row attempt to obtain invalid property: ').$property); 00295 else if ('auto_increment' == $field->Extra) return 0; 00296 return $field ? $field->Default : null; 00297 }
| aliroDatabaseRow::forceBools | ( | ) |
| aliroDatabaseRow::timeStampField | ( | ) |
| aliroDatabaseRow::notSQL | ( | ) |
1.5.5