Exemplo n.º 1
0
function uri($target, $for_html = false)
{
    return router::build_php_url($target, false, $for_html, false);
}
Exemplo n.º 2
0
Arquivo: tpl.php Projeto: xpd1437/swap
function link_to($target, $text)
{
    echo '<a href="' . router::build_php_url($target, false, true) . '">' . $text . '</a>';
}