public function get_services_total($post_id = false)
{
$totals = array();
$services = $this->get_blog_services();
if (!empty($services) && isset($services['all'])) {
foreach ($services['all'] as $key => $value) {
$totals[$key] = new Sharing_Service_Total($key, $this->get_total($key, $post_id));
}
}
usort($totals, array('Sharing_Service_Total', 'cmp'));
return $totals;
}