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

Column[]
getColumns()

No description

string[]
getColumnNames()

No description

getColumn($name)

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

Parameters

Reflector $reflector
array $info

at line 61
string getName()

No description

Return Value

string

at line 70
bool isView()

No description

Return Value

bool

at line 79
Column[] getColumns()

No description

Return Value

Column[]

at line 89
string[] getColumnNames()

No description

Return Value

string[]

at line 104
Column getColumn($name)

No description

Parameters

$name

Return Value

Column

at line 121
bool hasColumn($name)

No description

Parameters

$name

Return Value

bool

at line 131
ForeignKey[] getForeignKeys()

No description

Return Value

ForeignKey[]

at line 141
Index[] getIndexes()

No description

Return Value

Index[]

at line 151
Index getPrimaryKey()

No description

Return Value

Index

at line 161
protected void initColumns()

No description

Return Value

void

at line 175
protected void initIndexes()

No description

Return Value

void

at line 196
protected void initForeignKeys()

No description

Return Value

void

Traits

Better OOP experience.