Exemple #1
0
/**
 * Callback function for converting resource to HTML output
 */
function renderFamilyData($input, $argv, $parser)
{
    $title = $parser->getTitle()->getText();
    $family = new Family($title);
    if ($title == 'GedcomPage') {
        $family->setGedcomPage(true);
    }
    return $family->renderData($input, $parser);
}