PHP Class Todaymade\Daux\Format\HTML\Template

Afficher le fichier Open project: justinwalsh/daux.io Class Usage Examples

Protected Properties

Свойство Type Description
$engine

Méthodes publiques

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

Méthodes protégées

Méthode Description
registerFunctions ( )

Private Methods

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

Method Details

__construct() public méthode

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

registerFunctions() protected méthode

protected registerFunctions ( )

render() public méthode

public render ( string $name, array $data = [] ) : string
$name string
$data array
Résultat string

Property Details

$engine protected_oe property

protected $engine