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
Column[]
getColumns()
No description
string[]
getColumnNames()
No description
bool
hasColumn($name)
No description
getForeignKeys()
No description
Index[]
getIndexes()
No description
getPrimaryKey()
No description
void
initColumns()
No description
void
initIndexes()
No description
void
initForeignKeys()
No description
Details
at line 50
__construct(Reflector $reflector, array $info)
No description
at line 61
string
getName()
No description
at line 70
bool
isView()
No description
at line 79
Column[]
getColumns()
No description
at line 89
string[]
getColumnNames()
No description
at line 104
Column
getColumn($name)
No description
at line 121
bool
hasColumn($name)
No description
at line 131
ForeignKey[]
getForeignKeys()
No description
at line 141
Index[]
getIndexes()
No description
at line 151
Index
getPrimaryKey()
No description
at line 161
protected void
initColumns()
No description
at line 175
protected void
initIndexes()
No description
at line 196
protected void
initForeignKeys()
No description
Traits
Better OOP experience.