PHP Class PrivateBin\View

Displays the templates
Afficher le fichier Open project: privatebin/privatebin Class Usage Examples

Méthodes publiques

Méthode Description
assign ( string $name, mixed $value ) : void assign variables to be used inside of the template
draw ( string $template ) : void render a template

Method Details

assign() public méthode

assign variables to be used inside of the template
public assign ( string $name, mixed $value ) : void
$name string
$value mixed
Résultat void

draw() public méthode

render a template
public draw ( string $template ) : void
$template string
Résultat void