Class DiscoveredReflection
Reflection metadata class with discovery for a database.
- Nette\Object
- Nette\Database\Reflection\DiscoveredReflection implements Nette\Database\IReflection
Namespace: Nette\Database\Reflection
Author: Jan Skrasek
Located at Database/Reflection/DiscoveredReflection.php
Author: Jan Skrasek
Located at Database/Reflection/DiscoveredReflection.php
public
|
#
__construct(
Create autodiscovery structure. |
public
|
|
public
string|array
|
|
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,
FIELD_TIME_INTERVAL,
FIELD_UNIX_TIMESTAMP
|
protected
|
$connection |
|
|
protected
|
$cache |
|
|
protected
array
|
$structure | array() |
|
protected
array
|
$loadedStructure |
|
$reflection
|