PHP Class Components_Helper_Templates_RecursiveDirectory, 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.
Inheritance: extends Components_Helper_Templates
Mostra file Open project: horde/horde Class Usage Examples

Public Methods

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

Method Details

__construct() public method

Constructor.
public __construct ( string $sdir, string $tdir )
$sdir string The templates source directory.
$tdir string The templates target directory.

write() public method

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