class Table

Reflection metadata class for a database table.

Traits

Better OOP experience.

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)

Parameters

Reflector $reflector
array $info

at line 60
string getName()

Return Value

string

at line 66
bool isView()

Return Value

bool

at line 75
array getColumns()

Return Value

array

at line 85
array getColumnNames()

Return Value

array

at line 96
Column getColumn(string $name)

Parameters

string $name

Return Value

Column

at line 109
bool hasColumn(string $name)

Parameters

string $name

Return Value

bool

at line 119
array getForeignKeys()

Return Value

array

at line 129
array getIndexes()

Return Value

array

at line 136
Index getPrimaryKey()

Return Value

Index

at line 143
protected void initColumns()

Return Value

void

at line 154
protected void initIndexes()

Return Value

void

at line 172
protected void initForeignKeys()

Return Value

void