public static function getService($service, $new = 0)
    {
        $defaultPackage = "service";
        $serviceName = $service;
        if (strpos($service, ".") === false) {
            $serviceName = $defaultPackage . "." . $service;
        }
        return Openbizx::getObject($serviceName, $new);
    }
public static function getService($service, $new = 0)
    {
        $defaultPackage = "service";
        $serviceName = $service;
        if (strpos($service, ".") === false) {
            $serviceName = $defaultPackage . "." . $service;
        }
        return Openbizx::getObject($serviceName, $new);
    }
public static function getService ( $ service , $ new = 0 ) { $ defaultPackage = "service" ; $ serviceName = $ service ; if ( strpos ( $ service , "." ) === false ) { $ serviceName = $ defaultPackage . "." . $ service ; } return Openbizx :: getObject ( $ serviceName , $ new ) ; }
Get the service object

@param string $service service name
@return object the service object
Get the service object