Example #1
0
function getAllCounters()
{
    $data = getGlobalCounters();
    $data = array_merge($data, getVirtCounters());
    $data = array_merge($data, getLabelCounters());
    $data = array_merge($data, getFeedCounters());
    $data = array_merge($data, getCategoryCounters());
    return $data;
}
Example #2
0
function getAllCounters($link, $omode = "flc", $active_feed = false)
{
    if (!$omode) {
        $omode = "flc";
    }
    getGlobalCounters($link);
    getVirtCounters($link);
    if (strchr($omode, "l")) {
        getLabelCounters($link);
    }
    if (strchr($omode, "f")) {
        getFeedCounters($link, $active_feed);
    }
    if (strchr($omode, "t")) {
        getTagCounters($link);
    }
    if (strchr($omode, "c")) {
        if (get_pref($link, 'ENABLE_FEED_CATS')) {
            getCategoryCounters($link);
        }
    }
}
Example #3
0
function getAllCounters($link)
{
    $data = getGlobalCounters($link);
    $data = array_merge($data, getVirtCounters($link));
    $data = array_merge($data, getLabelCounters($link));
    $data = array_merge($data, getFeedCounters($link, $active_feed));
    $data = array_merge($data, getCategoryCounters($link));
    return $data;
}
Example #4
0
function getAllCounters($link, $omode = "flc", $active_feed = false)
{
    if (!$omode) {
        $omode = "flc";
    }
    $data = getGlobalCounters($link);
    $data = array_merge($data, getVirtCounters($link));
    if (strchr($omode, "l")) {
        $data = array_merge($data, getLabelCounters($link));
    }
    if (strchr($omode, "f")) {
        $data = array_merge($data, getFeedCounters($link, $active_feed));
    }
    if (strchr($omode, "t")) {
        $data = array_merge($data, getTagCounters($link));
    }
    if (strchr($omode, "c")) {
        $data = array_merge($data, getCategoryCounters($link));
    }
    return $data;
}