PHP Класс Nette\Database\Structure

Автор: Jan Skrasek
Наследование: extends Nette\Object, implements Nette\Database\IStructure
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cache Nette\Caching\Cache
$connection Connection
$isRebuilt boolean
$structure array

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
analyzeForeignKeys ( &$structure, $table )
analyzePrimaryKey ( array $columns )
needStructure ( )
resolveFQTableName ( $table )

Описание методов

__construct() публичный метод

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

analyzeForeignKeys() защищенный метод

protected analyzeForeignKeys ( &$structure, $table )

analyzePrimaryKey() защищенный метод

protected analyzePrimaryKey ( array $columns )
$columns array

getBelongsToReference() публичный метод

public getBelongsToReference ( $table, $column = NULL )

getColumns() публичный метод

public getColumns ( $table )

getHasManyReference() публичный метод

public getHasManyReference ( $table, $targetTable = NULL )

getPrimaryKey() публичный метод

public getPrimaryKey ( $table )

getPrimaryKeySequence() публичный метод

public getPrimaryKeySequence ( $table )

getTables() публичный метод

public getTables ( )

isRebuilt() публичный метод

public isRebuilt ( )

loadStructure() публичный метод

public loadStructure ( )

needStructure() защищенный метод

protected needStructure ( )

rebuild() публичный метод

public rebuild ( )

resolveFQTableName() защищенный метод

protected resolveFQTableName ( $table )

Описание свойств

$cache защищенное свойство

protected Cache,Nette\Caching $cache
Результат Nette\Caching\Cache

$connection защищенное свойство

protected Connection,Nette\Database $connection
Результат Connection

$isRebuilt защищенное свойство

protected bool $isRebuilt
Результат boolean

$structure защищенное свойство

protected array $structure
Результат array