Class DiscoveredReflection
- Nette\Object
- Nette\Database\Reflection\DiscoveredReflection implements Nette\Database\IReflection
Namespace: Nette\Database\Reflection
Deprecated
Located at Database/deprecated/DiscoveredReflection.php
Deprecated
Located at Database/deprecated/DiscoveredReflection.php
public
|
#
__construct(
Create autodiscovery structure. |
public
|
|
public
string|array|null
|
|
public
array
|
#
getHasManyReference( string $table, string $key, $refresh = TRUE )
Returns referenced table & referenced column. Example: |
public
array
|
#
getBelongsToReference( string $table, string $key, $refresh = TRUE )
Returns 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
|