Свойство | Type | Description | |
---|---|---|---|
$templates |
Méthode | Description | |
---|---|---|
__construct ( ) | Initialize a new templater. | |
add_template ( string $name, string $html ) | Register a new template. | |
render_templates ( ) | Render all registered templates. |
public __construct ( ) |
public static add_template ( string $name, string $html ) | ||
$name | string | Template name |
$html | string | Template content |