Template::open - jcobban/Genealogy GitHub Wiki
$template->open($filename)
Up: class Template
This method changes the main template document name. It overrides the file name passed to the constructor. It exists because the original implementation of this class did not pass a parameter to the constructor. This eliminates the need for $template->main to be a public member of the class and validates the supplied value.
This method returns true if the parameter $filename
identifies an existing file.
Use of this method is deprecated in favor of passing the document name to the constructor. This method does not support passing a URL.
Next: $template->fileExists()