PHP Class Ouzo\Tools\Controller\Template\ControllerGenerator

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $controller, $controllerPath = null )
appendAction ( ActionGenerator $actionGenerator = null )
getClassName ( )
getClassNamespace ( )
getControllerContents ( )
getControllerPath ( )
isActionExists ( $actionName )
isControllerExists ( )
saveController ( )
templateContents ( )

Private Methods

Méthode Description
preparePaths ( $path )

Method Details

__construct() public méthode

public __construct ( $controller, $controllerPath = null )

appendAction() public méthode

public appendAction ( ActionGenerator $actionGenerator = null )
$actionGenerator ActionGenerator

getClassName() public méthode

public getClassName ( )

getClassNamespace() public méthode

public getClassNamespace ( )

getControllerContents() public méthode

getControllerPath() public méthode

public getControllerPath ( )

isActionExists() public méthode

public isActionExists ( $actionName )

isControllerExists() public méthode

public isControllerExists ( )

saveController() public méthode

public saveController ( )

templateContents() public méthode

public templateContents ( )