public function includeFile($templateFilename) {

        /* @deprecated use $this when accessing assigned variables */

        $tpl = $this;

        eval('?>' .
            file_get_contents(Application::getInstance()->getRootPath() .
                (defined('TPL_PATH') ? str_replace('/', DIRECTORY_SEPARATOR, ltrim(TPL_PATH, '/')) : '') .
                $templateFilename
            ));

    }
public function includeFile($templateFilename) {

        /* @deprecated use $this when accessing assigned variables */

        $tpl = $this;

        eval('?>' .
            file_get_contents(Application::getInstance()->getRootPath() .
                (defined('TPL_PATH') ? str_replace('/', DIRECTORY_SEPARATOR, ltrim(TPL_PATH, '/')) : '') .
                $templateFilename
            ));

    }
public function includeFile ( $ templateFilename ) { /* @deprecated use $this when accessing assigned variables */ $ tpl = $ this ; eval ( '?>' . file_get_contents ( Application :: getInstance ( ) -> getRootPath ( ) . ( defined ( 'TPL_PATH' ) ? str_replace ( '/' , DIRECTORY_SEPARATOR , ltrim ( TPL_PATH , '/' ) ) : '' ) . $ templateFilename ) ) ; }
include another template file
does only path handling
included files are within the same scope as the including file

@param string $templateFilename
@throws \vxPHP\Application\Exception\ApplicationException
include another template file does only path handling included files are within the same scope as the including file