AdsUser::GetAllClientLibraryUserAgentParts PHP 메소드

GetAllClientLibraryUserAgentParts() 개인적인 메소드

Gets all the user agent parts that identify this client library plus user agent parts from the ads utilities registry.
private GetAllClientLibraryUserAgentParts ( ) : array
리턴 array An array of all the user agent parts that identify this client library where each user agent part has been joined by a '/' (forward slash).
    private function GetAllClientLibraryUserAgentParts()
    {
        $clientLibUserAgentParts[] = implode('/', $this->GetClientLibraryNameAndVersion());
        foreach ($this->GetCommonClientLibraryUserAgentParts() as $userAgentPart) {
            $clientLibUserAgentParts[] = implode('/', $userAgentPart);
        }
        if ($this->getIsIncludeUtilitiesInUserAgent() === 'true') {
            $adsUtilities = AdsUtilityRegistry::getInstance()->popAllUtilities();
            sort($adsUtilities, SORT_STRING);
            $clientLibUserAgentParts = array_merge($clientLibUserAgentParts, $adsUtilities);
        }
        return $clientLibUserAgentParts;
    }