PHP Class Ouzo\View

Mostra file Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( $viewName, array $attributes = [] )
__get ( $name )
__isset ( $name )
__set ( $name, $value )
getRenderedView ( )
getRenderer ( ) : Ouzo\View\ViewRenderer
getViewName ( )
render ( $viewName = '' )

Private Methods

Method Description
_loadHelpers ( )
_requireOnce ( $path )
verifyExists ( $viewPath, $viewName )

Method Details

__construct() public method

public __construct ( $viewName, array $attributes = [] )
$attributes array

__get() public method

public __get ( $name )

__isset() public method

public __isset ( $name )

__set() public method

public __set ( $name, $value )

getRenderedView() public method

public getRenderedView ( )

getRenderer() public method

public getRenderer ( ) : Ouzo\View\ViewRenderer
return Ouzo\View\ViewRenderer

getViewName() public method

public getViewName ( )

render() public method

public render ( $viewName = '' )