Namespaces

  • Dibi
    • Bridges
      • Nette
      • Tracy
    • Drivers
    • Loggers
    • Reflection

Classes

  • Column
  • Database
  • ForeignKey
  • Index
  • Result
  • Table
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Dibi homepage

Class Table

Reflection metadata class for a database table.

Dibi\Reflection\Table uses Dibi\Strict
Namespace: Dibi\Reflection
Located at Dibi/Reflection/Table.php
Methods summary
public
# __construct( Dibi\Reflector $reflector, array $info )
public string
# getName( )

Returns

string
string
public boolean
# isView( )

Returns

boolean
bool
public Dibi\Reflection\Column[]
# getColumns( )

Returns

Dibi\Reflection\Column[]
Column[]
public string[]
# getColumnNames( )

Returns

string[]
string[]
public Dibi\Reflection\Column
# getColumn( string $name )

Parameters

$name

Returns

Dibi\Reflection\Column
Column
public boolean
# hasColumn( string $name )

Parameters

$name

Returns

boolean
bool
public Dibi\Reflection\ForeignKey[]
# getForeignKeys( )

Returns

Dibi\Reflection\ForeignKey[]
ForeignKey[]
public Dibi\Reflection\Index[]
# getIndexes( )

Returns

Dibi\Reflection\Index[]
Index[]
public Dibi\Reflection\Index
# getPrimaryKey( )

Returns

Dibi\Reflection\Index
Index
protected
# initColumns( )
protected
# initIndexes( )
protected
# initForeignKeys( )
Methods used from Dibi\Strict
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod()
Magic properties summary
public read-only string $name
public read-only boolean $view
public read-only array $columns
public read-only array $columnNames
public read-only array $foreignKeys
public read-only array $indexes
public read-only Dibi\Reflection\Index $primaryKey
Dibi 4.0.1 API documentation API documentation generated by ApiGen 2.8.0