PHP Class ZF2rapid\Generator\CrudGenerator\AbstractActionViewGenerator

Inheritance: extends Zend\Code\Generator\BodyGenerator
Datei anzeigen Open project: zfrapid/zf2rapid

Public Methods

Method Description
__construct ( null | string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )

Protected Methods

Method Description
addContent ( string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity ) Generate view content
filterCamelCaseToDash ( string $text ) : string Filter camel case to dash
filterCamelCaseToUnderscore ( string $text ) : string Filter camel case to underscore

Method Details

__construct() public method

public __construct ( null | string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )
$moduleName null | string
$loadedEntity Zend\Code\Reflection\ClassReflection

addContent() abstract protected method

Generate view content
abstract protected addContent ( string $moduleName, Zend\Code\Reflection\ClassReflection $loadedEntity )
$moduleName string
$loadedEntity Zend\Code\Reflection\ClassReflection

filterCamelCaseToDash() protected method

Filter camel case to dash
protected filterCamelCaseToDash ( string $text ) : string
$text string
return string

filterCamelCaseToUnderscore() protected method

Filter camel case to underscore
protected filterCamelCaseToUnderscore ( string $text ) : string
$text string
return string