Citation::$intType - jcobban/Genealogy GitHub Wiki

Citation::$intType

Up: class Citation

This private static array contains a translation from the value of the 'type' field to a string description in English. Its value is available to other classes through the method Citation::getCitTypeText, however it is recommended to use the I18N support:

    $translate         = $template->getTranslate();
    $citText           = $translate['typeText'];
    $text              = $citText[$type];
    if (is_null($text))
        $text          = $t['invalid'] . " $type";

Next: Citation::$recType