/** * Loads the classes within a service, so they can be used before the service * is constructed. * @param $serviceName the service name * @param string $version the version of the service to get. If * <var>null</var>, then the default version will be used */ public function LoadService($serviceName, $version = null) { if ($version === null) { $version = $this->GetDefaultVersion(); } $serviceFactory = new AdWordsSoapClientFactory($this, $version, null, null, null); $serviceFactory->DoRequireOnce($serviceName); }
/** * Loads the classes within a service, so they can be used before the service * is constructed. * @param $serviceName the service name * @param string $version the version of the service to get. If * <var>NULL</var>, then the default version will be used */ public function LoadService($serviceName, $version = NULL) { if (!isset($version)) { $version = $this->GetDefaultVersion(); } $serviceFactory = new AdWordsSoapClientFactory($this, $version, NULL, NULL, NULL); $serviceFactory->DoRequireOnce($serviceName); }