Exemplo n.º 1
0
function fetchPageTitle($id)
{
    if (!$id > 0) {
        return;
    }
    // get the category ancestors
    $ancestors =& DOCMAN_Cats::getAncestors($id);
    // reverse the array
    $ancestors = array_reverse($ancestors);
    // display the pathway
    return HTML_docman::fetchPageTitle($ancestors);
}