Class NDiscoveredReflection
Reflection metadata class with discovery for a database.
- NObject
- NDiscoveredReflection implements IReflection
Package: Nette\Database\Reflection
Author: Jan Skrasek
Located at Database/Reflection/DiscoveredReflection.php
Author: Jan Skrasek
Located at Database/Reflection/DiscoveredReflection.php
public
|
|
public
|
|
public
|
|
public
string
|
|
public
array
|
#
getHasManyReference( string $table, string $key, $refresh = TRUE )
Gets referenced table & referenced column. Example: |
public
array
|
#
getBelongsToReference( string $table, string $key, $refresh = TRUE )
Gets referenced table & referencing column. Example |
protected
|
|
protected
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
FIELD_BINARY,
FIELD_BOOL,
FIELD_DATE,
FIELD_DATETIME,
FIELD_FLOAT,
FIELD_INTEGER,
FIELD_TEXT,
FIELD_TIME
|
protected
|
$cache |
|
|
protected
|
$cacheStorage |
|
|
protected
|
$connection |
|
|
protected
array
|
$structure | array() |
|
protected
array
|
$loadedStructure |
|
public write-only
|
$connection |
$reflection
|