Свойство | Тип | Описание | |
---|---|---|---|
$config | array | ||
$loadedTable | array | ||
$tableName |
Метод | Описание | |
---|---|---|
__construct ( null | string $tableName, array $loadedTable = [], array $config = [] ) | ||
build ( string $className, string $moduleName ) | Build the class |
Метод | Описание | |
---|---|---|
addClassDocBlock ( string $className, string $moduleName ) | Add a class doc block | |
addInitMethod ( $className, $moduleName ) | Add the init() method to setup input elements | |
addOptionsProperty ( string $columnName, Zend\Db\Metadata\Object\ConstraintObject $foreignKey ) | ||
addOptionsSetter ( string $columnName, Zend\Db\Metadata\Object\ConstraintObject $foreignKey ) | ||
filterCamelCaseToUnderscore ( string $text ) : string | Filter camel case to underscore | |
filterUnderscoreToCamelCase ( string $text ) : string | Filter underscore to camel case |
protected addClassDocBlock ( string $className, string $moduleName ) | ||
$className | string | |
$moduleName | string |
protected addInitMethod ( $className, $moduleName ) | ||
$className | ||
$moduleName |
protected addOptionsProperty ( string $columnName, Zend\Db\Metadata\Object\ConstraintObject $foreignKey ) | ||
$columnName | string | |
$foreignKey | Zend\Db\Metadata\Object\ConstraintObject |
protected addOptionsSetter ( string $columnName, Zend\Db\Metadata\Object\ConstraintObject $foreignKey ) | ||
$columnName | string | |
$foreignKey | Zend\Db\Metadata\Object\ConstraintObject |
protected filterCamelCaseToUnderscore ( string $text ) : string | ||
$text | string | |
Результат | string |
protected filterUnderscoreToCamelCase ( string $text ) : string | ||
$text | string | |
Результат | string |