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.
◆ _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()
◆ getName()
Return name of this schema asset.
- Retorna
- string
Definido na linha 72 do ficheiro AbstractAsset.php.
◆ getQuotedName()
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.
◆ $_name
◆ $_quoted
A documentação para esta classe foi gerada a partir do seguinte ficheiro:
- /var/docker/solisge-devel/www/solisge/miolo20/classes/extensions/doctrine-dbal/Doctrine/DBAL/Schema/AbstractAsset.php