MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe AbstractAsset
Diagrama de heranças da classe AbstractAsset
Column ForeignKeyConstraint Index Schema Sequence Table View

Membros públicos

 getName ()
 
 getQuotedName (AbstractPlatform $platform)
 

Membros protegidos

 _setName ($name)
 
 _generateIdentifierName ($columnNames, $postfix='', $maxSize=30)
 

Atributos Protegidos

 $_name
 
 $_quoted = false
 

Descrição detalhada

The abstract asset allows to reset the name of all assets without publishing this to the public userland.

This encapsulation hack is necessary to keep a consistent state of the database schema. Say we have a list of tables array($tableName => Table($tableName)); if you want to rename the table, you have to make sure

@license http://www.opensource.org/licenses/lgpl-license.php LGPL 2.0 $Revision$ Benjamin Eberlei konta.nosp@m.kt@b.nosp@m.eberl.nosp@m.ei.d.nosp@m.e

Definido na linha 38 do ficheiro AbstractAsset.php.

Documentação das funções

◆ _generateIdentifierName()

_generateIdentifierName ( $columnNames,
$postfix = '',
$maxSize = 30 )
protected

Generate an identifier from a list of column names obeying a certain string length.

This is especially important for Oracle, since it does not allow identifiers larger than 30 chars, however building idents automatically for foreign keys, composite keys or such can easily create very long names.

Parâmetros
array$columnNames
string$postfix
int$maxSize
Retorna
string

Definido na linha 101 do ficheiro AbstractAsset.php.

◆ _setName()

_setName ( $name)
protected

Set name of this asset

Parâmetros
string$name

Definido na linha 52 do ficheiro AbstractAsset.php.

◆ getName()

getName ( )

Return name of this schema asset.

Retorna
string

Definido na linha 72 do ficheiro AbstractAsset.php.

◆ getQuotedName()

getQuotedName ( AbstractPlatform $platform)

Get the quoted representation of this asset but only if it was defined with one. Otherwise return the plain unquoted value as inserted.

Parâmetros
AbstractPlatform$platform
Retorna
string

Definido na linha 84 do ficheiro AbstractAsset.php.

Documentação dos campos e atributos

◆ $_name

$_name
protected

Definido na linha 43 do ficheiro AbstractAsset.php.

◆ $_quoted

$_quoted = false
protected

Definido na linha 45 do ficheiro AbstractAsset.php.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: