Overview

Namespaces

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

Classes

  • DataMapper
  • DDL
  • ManyToOne
  • OneToMany
  • OneToOne
  • ORMQuery
  • ORMTable
  • ORMTableRef
  • RelatedSet
  • Relationship
  • Session
  • SessionSelect
  • WorkQueue
  • Overview
  • Namespace
  • Class
  • Tree

Class ORMTable

Defines a table aware of relationships and other abstractions

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\schema\Table implements Alchemy\util\promise\IPromisable
Extended by Alchemy\orm\ORMTable
Namespace: Alchemy\orm
Located at alchemy/orm/schema/ORMTable.php
Methods summary
public
# getClass( )
public
# getRef( )

Overrides

Alchemy\core\schema\Table::getRef()
public
# addRelationship( mixed $name, mixed $rel )
public
# getRelationship( mixed $name )
public
# hasRelationship( mixed $name )
public
# listRelationships( )
protected
# resolve( )

Lazy-resolve the whole Table

Lazy-resolve the whole Table

Overrides

Alchemy\core\schema\Table::resolve()
Methods inherited from Alchemy\core\schema\Table
__construct(), copy(), find(), getColumn(), getName(), getPrimaryKey(), hasColumn(), listColumns(), listDependancies(), listDependants(), listIndexes(), list_promisable_methods(), register(), register_name()
Methods inherited from Alchemy\core\Element
__callStatic(), __clone(), addTag(), addTags(), define(), define_alias(), getDescription(), getID(), getTag(), getType(), get_definition(), listTags(), normalize_arg()
Properties summary
protected array $relationships array()
#
Properties inherited from Alchemy\core\schema\Table
$args, $columns, $indexes, $name, $registered, $resolved
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0