Overview

Namespaces

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

Classes

  • Column
  • Foreign
  • ForeignKey
  • Index
  • Table
  • TableElement
  • Overview
  • Namespace
  • Class
  • Tree

Class TableElement

Class for representing an index in SQL

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\schema\TableElement

Direct known subclasses

Alchemy\core\schema\Column, Alchemy\core\schema\Index

Indirect known subclasses

Alchemy\core\schema\Foreign, Alchemy\core\schema\ForeignKey
Abstract
Namespace: Alchemy\core\schema
Located at alchemy/core/schema/TableElement.php
Methods summary
public
# __construct( array $type, mixed $args = array(), mixed $table = null, mixed $name = '' )

Object Constructor

Object Constructor

Parameters

$type
array
$args
$args
$table
$name

Overrides

Alchemy\core\Element::__construct()
public Alchemy\core\schema\TableElement
# copy( array $args = array(), mixed $table = null, mixed $name = '' )

Duplicates this, but possibly as a different class

Duplicates this, but possibly as a different class

Returns

Alchemy\core\schema\TableElement

Overrides

Alchemy\core\Element::copy()
public
# getName( )
public
# getTable( )
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 mixed $args
#
protected mixed $table
#
protected mixed $name
#
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0