예제 #1
0
/**
 * Callback function for converting source to HTML output
 */
function renderMySourceData($input, $argv, $parser)
{
    $source = new MySource($parser->getTitle()->getText());
    return $source->renderData($input, $parser);
}