Source for file Internal.class.php
Documentation is available at Internal.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* Internal Template Engine Class
* The Internal Template Engine will include a template file into the
* parse method. The engine will include the file as if the contents
* were written inside the method. The Template file should contain
* HTML and PHP code intermixed. The use of <?php .. ?> tags is recommended.
* The Template file should output the results to the browser. The contents
* will be caught inside a buffer and the contents saved into the object.
* <?php echo $this->template_variable; ?>
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* @desc Internal Template Engine Class
gumbo_load ("Template_Engine");
* @param string $file template file name
* Parses the template file into an HTML string
* @precondition setFormatted (false)
* @precondition setOutput (null)
* @postcondition isFormatted ()
protected function parse () {
// NOTE: Gumbo_Buffer not used to avoid dependency