Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • ANSICompilerTest
  • ANSIDeleteTest
  • ANSIInsertTest
  • ANSISelectTest
  • ANSIUpdateTest
  • BaseTest
  • ColumnTypeTest
  • CompilerTest
  • DataTypeLexerTest
  • ElementTest
  • ExpressionTest
  • ForeignTest
  • InsertTest
  • Language
  • MapperTest
  • MockElement
  • MockPromisable
  • ORMQueryTest
  • PromiseTest
  • QueryTest
  • RelationshipTest
  • ScalarTest
  • SessionIntegrationTest
  • SignalTest
  • UploadedFile
  • WaitableTest
  • Overview
  • Namespace
  • Class
  • Tree

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
Extended by Alchemy\tests\UploadedFile
Namespace: Alchemy\tests
Located at tests/resources/UploadedFile.php
Methods inherited from Alchemy\orm\DataMapper
__construct(), __get(), __set(), __toString(), addPersistanceDependancy(), cascadeForeignKey(), from_session(), getPrimaryKey(), getRelatedSet(), getSession(), getSessionID(), isTransient(), list_mappers(), onDependanciesPersisted(), onPersisted(), register(), rollback(), save(), schema(), set(), setSession(), table(), table_name()
Properties summary
protected static string $table_name "UploadedFile"
#

Optional: Define the table name here. If left null, the class name will be used

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])', ))
#
API documentation generated by ApiGen 2.8.0