Overview

Namespaces

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

Classes

  • Element

Interfaces

  • IElement
  • Overview
  • Namespace
  • Class
  • Tree

Interface IElement

Interface for SQL elements

Direct known implementers

Alchemy\core\Element

Indirect known implementers

Alchemy\core\query\ColumnRef, Alchemy\core\query\DDLQuery, Alchemy\core\schema\Foreign, Alchemy\core\schema\ForeignKey, Alchemy\core\schema\Index, Alchemy\core\schema\Table, Alchemy\core\schema\TableElement, Alchemy\orm\ManyToOne, Alchemy\orm\OneToMany, Alchemy\orm\OneToOne, Alchemy\orm\ORMQuery, Alchemy\orm\ORMTable, Alchemy\core\query\Expression, Alchemy\orm\ORMTableRef, Alchemy\orm\Relationship, Alchemy\tests\MockElement, Alchemy\core\query\Insert, Alchemy\core\query\Join, Alchemy\core\query\Predicate, Alchemy\core\query\Query, Alchemy\core\query\Scalar, Alchemy\core\query\TableRef, Alchemy\core\schema\Column
Namespace: Alchemy\core
Located at alchemy/core/IElement.php
Methods summary
public
# addTag( string $tag, string $value = true )

Apply a tag to this element. The same tag cannot be applied with two different values.

Apply a tag to this element. The same tag cannot be applied with two different values.

Parameters

$tag
string
$tag
$value
string
$value optional value to give tag
public string
# getID( )

Get the locally-unique element id

Get the locally-unique element id

Returns

string
public mixed
# getTag( string $tag )

If the tag has been applied to this object, returns its value, else false

If the tag has been applied to this object, returns its value, else false

Parameters

$tag
string
$tag tag name

Returns

mixed
value or false
public array
# listTags( )

List of all tags that apply to this element

List of all tags that apply to this element

Returns

array
API documentation generated by ApiGen 2.8.0