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

__construct(Reflector $reflector, array $info)

No description

string
getName()

No description

bool
isView()

No description

array
getColumns()

No description

array
getColumnNames()

No description

getColumn(string $name)

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

Parameters

Reflector $reflector
array $info

at line 60
string getName()

No description

Return Value

string

at line 66
bool isView()

No description

Return Value

bool

at line 73
array getColumns()

No description

Return Value

array

at line 81
array getColumnNames()

No description

Return Value

array

at line 93
Column getColumn(string $name)

No description

Parameters

string $name

Return Value

Column

at line 106
bool hasColumn(string $name)

No description

Parameters

string $name

Return Value

bool

at line 114
array getForeignKeys()

No description

Return Value

array

at line 122
array getIndexes()

No description

Return Value

array

at line 129
Index getPrimaryKey()

No description

Return Value

Index

at line 136
protected void initColumns()

No description

Return Value

void

at line 147
protected void initIndexes()

No description

Return Value

void

at line 166
protected void initForeignKeys()

No description

Return Value

void

Traits

Better OOP experience.