PHP Class Todaymade\Daux\Format\HTML\Template

Mostrar archivo Open project: justinwalsh/daux.io Class Usage Examples

Protected Properties

Property Type Description
$engine

Public Methods

Method Description
__construct ( string $base, string $theme )
render ( string $name, array $data = [] ) : string

Protected Methods

Method Description
registerFunctions ( )

Private Methods

Method Description
buildNavigation ( Directory $tree, $path, $current_url, $base_page, $mode )
getSeparator ( string $separator ) : string
renderNavigation ( $entries )

Method Details

__construct() public method

public __construct ( string $base, string $theme )
$base string
$theme string

registerFunctions() protected method

protected registerFunctions ( )

render() public method

public render ( string $name, array $data = [] ) : string
$name string
$data array
return string

Property Details

$engine protected_oe property

protected $engine