Table
class Table
Reflection metadata class for a database table.
Properties
string read-only | $name | ||
bool read-only | $view | ||
array read-only | $columns | ||
array read-only | $columnNames | ||
array read-only | $foreignKeys | ||
array read-only | $indexes | ||
Index read-only | $primaryKey |
Methods
string
getName()
No description
bool
isView()
No description
array
getColumns()
No description
array
getColumnNames()
No description
bool
hasColumn(string $name)
No description
array
getForeignKeys()
No description
array
getIndexes()
No description
getPrimaryKey()
No description
void
initColumns()
No description
void
initIndexes()
No description
void
initForeignKeys()
No description
Details
at line 52
__construct(Reflector $reflector, array $info)
No description
at line 60
string
getName()
No description
at line 66
bool
isView()
No description
at line 73
array
getColumns()
No description
at line 81
array
getColumnNames()
No description
at line 92
Column
getColumn(string $name)
No description
at line 105
bool
hasColumn(string $name)
No description
at line 113
array
getForeignKeys()
No description
at line 121
array
getIndexes()
No description
at line 128
Index
getPrimaryKey()
No description
at line 135
protected void
initColumns()
No description
at line 146
protected void
initIndexes()
No description
at line 164
protected void
initForeignKeys()
No description
Traits
Better OOP experience.