Class UploadedFile
Abstract base class for custom ORM models. this class doesn't actually store any data, it merely acts as an interface between Domain objects and the Session (which actually owns all of the DB records).
- Alchemy\orm\DataMapper
- Alchemy\tests\UploadedFile
protected static
string
|
$table_name | "UploadedFile" |
#
Optional: Define the table name here. If left null, the class name will be used |
protected static
array
|
$schema_args | array(
'columns' => array(
'UploadedFileID' => 'Integer(primary_key = true, auto_increment = true)',
'LanguageID' => 'Foreign(Language.LanguageID)',
'Folder' => 'String(40)',
'Filename' => 'String(40)',
'LatestChangeStamp' => 'Timestamp',
),
'indexes' => array(
'Folder_Filename' => 'UniqueKey([self.Folder, self.Filename])',
)) |