PHP Class Ouzo\Tools\Controller\Template\ViewGenerator

Mostrar archivo Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( $controller, $viewPath = null )
appendAction ( ActionGenerator $actionGenerator = null )
createViewDirectoryIfNotExists ( )
getViewName ( )
getViewNamespace ( )
getViewPath ( )
isActionExists ( $actionFile )

Private Methods

Method Description
preparePaths ( $path )

Method Details

__construct() public method

public __construct ( $controller, $viewPath = null )

appendAction() public method

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

createViewDirectoryIfNotExists() public method

getViewName() public method

public getViewName ( )

getViewNamespace() public method

public getViewNamespace ( )

getViewPath() public method

public getViewPath ( )

isActionExists() public method

public isActionExists ( $actionFile )