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.
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: extends Components_Helper_Templates
Example #1
0
 public function testInput()
 {
     $tdir = $this->getTemporaryDirectory();
     $templates = new Components_Helper_Templates_Single(__DIR__ . '/../../../fixture/templates', $tdir, 'input', 'target');
     $templates->write(array('input' => 'SOME INPUT'));
     $this->assertEquals("SOME INPUT", file_get_contents($tdir . '/target'));
 }