PHP Class Nette\Database\Structure

Author: Jan Skrasek
Inheritance: extends Nette\Object, implements Nette\Database\IStructure
Afficher le fichier Open project: nette/database

Protected Properties

Свойство Type Description
$cache Nette\Caching\Cache
$connection Connection
$isRebuilt boolean
$structure array

Méthodes publiques

Méthode Description
__construct ( Connection $connection, Nette\Caching\IStorage $cacheStorage )
getBelongsToReference ( $table, $column = NULL )
getColumns ( $table )
getHasManyReference ( $table, $targetTable = NULL )
getPrimaryKey ( $table )
getPrimaryKeySequence ( $table )
getTables ( )
isRebuilt ( )
loadStructure ( )
rebuild ( )

Méthodes protégées

Méthode Description
analyzeForeignKeys ( &$structure, $table )
analyzePrimaryKey ( array $columns )
needStructure ( )
resolveFQTableName ( $table )

Method Details

__construct() public méthode

public __construct ( Connection $connection, Nette\Caching\IStorage $cacheStorage )
$connection Connection
$cacheStorage Nette\Caching\IStorage

analyzeForeignKeys() protected méthode

protected analyzeForeignKeys ( &$structure, $table )

analyzePrimaryKey() protected méthode

protected analyzePrimaryKey ( array $columns )
$columns array

getBelongsToReference() public méthode

public getBelongsToReference ( $table, $column = NULL )

getColumns() public méthode

public getColumns ( $table )

getHasManyReference() public méthode

public getHasManyReference ( $table, $targetTable = NULL )

getPrimaryKey() public méthode

public getPrimaryKey ( $table )

getPrimaryKeySequence() public méthode

public getPrimaryKeySequence ( $table )

getTables() public méthode

public getTables ( )

isRebuilt() public méthode

public isRebuilt ( )

loadStructure() public méthode

public loadStructure ( )

needStructure() protected méthode

protected needStructure ( )

rebuild() public méthode

public rebuild ( )

resolveFQTableName() protected méthode

protected resolveFQTableName ( $table )

Property Details

$cache protected_oe property

protected Cache,Nette\Caching $cache
Résultat Nette\Caching\Cache

$connection protected_oe property

protected Connection,Nette\Database $connection
Résultat Connection

$isRebuilt protected_oe property

protected bool $isRebuilt
Résultat boolean

$structure protected_oe property

protected array $structure
Résultat array