Class Element
Base class for composable elements
- Alchemy\core\Element implements Alchemy\core\IElement
Direct known subclasses
Alchemy\core\query\ColumnRef, Alchemy\core\query\DDLQuery, Alchemy\tests\MockElement, Alchemy\core\query\Expression, Alchemy\core\query\Join, Alchemy\core\query\Query, Alchemy\core\query\Scalar, Alchemy\core\query\TableRef, Alchemy\core\schema\Table, Alchemy\core\schema\TableElement, Alchemy\orm\RelationshipIndirect known subclasses
Alchemy\core\query\Insert, Alchemy\core\query\Predicate, Alchemy\orm\ORMTable, Alchemy\orm\ORMTableRef, Alchemy\core\schema\Column, Alchemy\core\schema\Foreign, Alchemy\core\schema\ForeignKey, Alchemy\core\schema\Index, Alchemy\orm\ManyToOne, Alchemy\orm\OneToMany, Alchemy\orm\OneToOne, Alchemy\orm\ORMQuery
public static
|
#
__callStatic( mixed $name, mixed $args )
Return a new instance of an Element type. If the type is an alias, may return an instance of a different subclass. |
public static
|
|
public static
|
#
define_alias( string $type, string $base )
Define a new type as an alias to another type, possibly of a different class. |
public static
array
|
|
protected static
mixed
|
#
normalize_arg( mixed $arg, mixed $default )
Convert an argument's structure to be similar to the default ie. (5, array(array())) -> array(array(5)) |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
|
|
public
array
|
protected
mixed
|
$id |
|
|
protected
mixed
|
$type |
|
|
protected
array
|
$tags | array() |