references:joomla.framework:document:jdocument-parseparse
This function parses a file and create an internal patTemplate object. Syntaxvoid parse ( $template, $filename, $directory )
ExamplesThis function is called in the index.php file in the following way: Example global $mainframe; $cur_template = JRequest::getVar( 'template', $mainframe->getTemplate(), 'default', 'string' ); $file = 'index.php'; $document =& JFactory::getDocument(); $document->parse($cur_template, $file); |


