Interface IReflection
Information about tables and columns structure.
public
string
|
|
public
array
|
#
getHasManyReference( string $table, string $key )
Gets referenced table & referenced column. Example: |
public
array
|
#
getBelongsToReference( string $table, string $key )
Gets referenced table & referencing column. Example |
public
|
string |
FIELD_TEXT
|
'string' |
|
string |
FIELD_BINARY
|
'bin' |
|
string |
FIELD_BOOL
|
'bool' |
|
string |
FIELD_INTEGER
|
'int' |
|
string |
FIELD_FLOAT
|
'float' |
|
string |
FIELD_DATE
|
'date' |
|
string |
FIELD_TIME
|
'time' |
|
string |
FIELD_DATETIME
|
'datetime' |