public static function getServices()
    {
        $avail_services = array('facebook','twitter','linkedin');
        $services = array();
        foreach ($avail_services as $service) {
            $service = self::getAPI($service);
            if ($service->enabled()) {
                $services[$service->getIdentifier()->name] = $service;
            }
        }

        return $services;
    }
public static function getServices()
    {
        $avail_services = array('facebook','twitter','linkedin');
        $services = array();
        foreach ($avail_services as $service) {
            $service = self::getAPI($service);
            if ($service->enabled()) {
                $services[$service->getIdentifier()->name] = $service;
            }
        }

        return $services;
    }
public static function getServices ( ) { $ avail_services = array ( 'facebook' , 'twitter' , 'linkedin' ) ; $ services = array ( ) ; foreach ( $ avail_services as $ service ) { $ service = self :: getAPI ( $ service ) ; if ( $ service -> enabled ( ) ) { $ services [ $ service -> getIdentifier ( ) -> name ] = $ service ; } } return $ services ; }
Return an array of services.

@return array
Return an array of services .