just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Entity\Naming
public static function getAttributeName(string $column): string
The column names can not be specified by template. Instead they are constructed by $columnPrefix and enforced to $namingSchemeColumn.
ATTENTION: If your overwrite this method remember that getColumnName(getColumnName($name)) have to be exactly the same as getColumnName($name).
| Static | This method is static. | |
| Returns | string |
| Parameter | Type | Description |
|---|---|---|
$column |
string |
ORM\Entity\Naming::getAttributeName
public static function getColumnName(string $attribute): string
The column names can not be specified by template. Instead they are constructed by $columnPrefix and enforced to $namingSchemeColumn.
ATTENTION: If your overwrite this method remember that getColumnName(getColumnName($name)) have to be exactly the same as getColumnName($name).
| Static | This method is static. | |
| Returns | string |
| Parameter | Type | Description |
|---|---|---|
$attribute |
string |
ORM\Entity\Naming::getColumnName
public static function getNamingSchemeColumn(): string
Warning: this method is deprecated. | Static | | This method is static. | | Returns | string | |
ORM\Entity\Naming::getNamingSchemeColumn
public static function getNamingSchemeMethods(): string
Warning: this method is deprecated. | Static | | This method is static. | | Returns | string | |
ORM\Entity\Naming::getNamingSchemeMethods
public static function getNamingSchemeTable(): string
Warning: this method is deprecated. | Static | | This method is static. | | Returns | string | |
ORM\Entity\Naming::getNamingSchemeTable
public static function getTableName(): string
The table name is constructed by $tableNameTemplate and $namingSchemeTable. It can be overwritten by $tableName.
| Static | This method is static. | |
| Returns | string |
ORM\Entity\Naming::getTableName
public static function getTableNameTemplate(): string
Warning: this method is deprecated. | Static | | This method is static. | | Returns | string | |
ORM\Entity\Naming::getTableNameTemplate
public static function setNamingSchemeColumn(string $namingSchemeColumn): mixed
Warning: this method is deprecated. | Static | | This method is static. | | Returns | mixed | |
| Parameter | Type | Description |
|---|---|---|
$namingSchemeColumn |
string |
ORM\Entity\Naming::setNamingSchemeColumn
public static function setNamingSchemeMethods(
string $namingSchemeMethods,
): mixed
Warning: this method is deprecated. | Static | | This method is static. | | Returns | mixed | |
| Parameter | Type | Description |
|---|---|---|
$namingSchemeMethods |
string |
ORM\Entity\Naming::setNamingSchemeMethods
public static function setNamingSchemeTable(string $namingSchemeTable): mixed
Warning: this method is deprecated. | Static | | This method is static. | | Returns | mixed | |
| Parameter | Type | Description |
|---|---|---|
$namingSchemeTable |
string |
ORM\Entity\Naming::setNamingSchemeTable
public static function setTableNameTemplate(string $tableNameTemplate): mixed
Warning: this method is deprecated. | Static | | This method is static. | | Returns | mixed | |
| Parameter | Type | Description |
|---|---|---|
$tableNameTemplate |
string |
ORM\Entity\Naming::setTableNameTemplate