Template
in package
Components_Helper_Template:: converts a template into a target file.
Copyright 2011-2020 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $_source : mixed
- $_target : mixed
- __construct() : mixed
- Constructor.
- write() : void
- Rewrite the template from the source to the target location.
Properties
$_source
protected
mixed
$_source
$_target
protected
mixed
$_target
Methods
__construct()
Constructor.
public
__construct(string $_source, string $_target) : mixed
Parameters
- $_source : string
-
The source location.
- $_target : string
-
The target location.
Return values
mixed —write()
Rewrite the template from the source to the target location.
public
write([array<string|int, mixed> $parameters = [] ]) : void
Parameters
- $parameters : array<string|int, mixed> = []
-
The template parameters.