Record::setTemplate - jcobban/Genealogy GitHub Wiki

$record->setTemplate($template)

Up: class Record

This method is used to implement internationalization of text strings returned by class methods. This method has one parameter:

parameter description
$template This is an instance of class Template which contains HTML structures that provide translations between internal code points and the text presented to users. For example the derived class Source contains a method getTypeText which returns the textual description of the type of source. This information is maintained by Legacy Family Tree in the table tblST, however that solution does not support multiple users or internationalization. So language specific values for each code point are defined in the templates for displaying pages. }

Next: $record->setGetModeHTML($newvalue)