PHP Class Carbon_Fields\Templater\Templater

Afficher le fichier Open project: htmlburger/carbon-fields Class Usage Examples

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( ) Initialize a new templater.
add_template ( string $name, string $html ) Register a new template.
render_templates ( ) Render all registered templates.

Method Details

__construct() public méthode

Hook all templates to the administration footer.
public __construct ( )

add_template() public static méthode

Register a new template.
public static add_template ( string $name, string $html )
$name string Template name
$html string Template content

render_templates() public méthode

Render all registered templates.
public render_templates ( )

Property Details

$templates protected_oe static_oe property

protected static $templates