PHP Class Components_Helper_Template, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Mostrar archivo Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_source string Source template.
$_target string Target file.

Public Methods

Method Description
__construct ( string $source, string $target ) Constructor.
write ( array $parameters = [] ) : null Rewrite the template from the source to the target location.

Method Details

__construct() public method

Constructor.
public __construct ( string $source, string $target )
$source string The source location.
$target string The target location.

write() public method

Rewrite the template from the source to the target location.
public write ( array $parameters = [] ) : null
$parameters array The template parameters.
return null

Property Details

$_source protected_oe property

Source template.
protected string $_source
return string

$_target protected_oe property

Target file.
protected string $_target
return string