sort_items() public static method

Sorting callback for items
public static sort_items ( SimplePie $a, SimplePie $b ) : boolean
$a SimplePie
$b SimplePie
return boolean
/**
 * Take the namespaced function and make it global so that it can be called by usort().
 */
function sort_items($a, $b)
{
    return SimplePie::sort_items($a, $b);
}
示例#2
0
function _plan_multifeed_sort_items($a, $b)
{
    $array = SimplePie::sort_items($a, $b);
    return $array;
}
示例#3
0
function plan_multifeed_sort_items($a, $b)
{
    profile('rss_sort');
    $array = SimplePie::sort_items($a, $b);
    profile('rss_sort');
    return $array;
}