PHP Class Ouzo\Tools\Controller\Template\ControllerGenerator

Datei anzeigen Open project: letsdrink/ouzo Class Usage Examples

Public Methods

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

Private Methods

Method Description
preparePaths ( $path )

Method Details

__construct() public method

public __construct ( $controller, $controllerPath = null )

appendAction() public method

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

getClassName() public method

public getClassName ( )

getClassNamespace() public method

public getClassNamespace ( )

getControllerContents() public method

getControllerPath() public method

public getControllerPath ( )

isActionExists() public method

public isActionExists ( $actionName )

isControllerExists() public method

public isControllerExists ( )

saveController() public method

public saveController ( )

templateContents() public method

public templateContents ( )