PHP Класс CompanyService, googleads-php-lib

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Открытые методы

Метод Описание
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
createCompanies ( $companies ) : the Creates new {@link Company} objects.
getCompaniesByStatement ( $filterStatement ) : the Gets a {@link CompanyPage} of {@link Company} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateCompanies ( $companies ) : the Updates the specified {@link Company} objects.

Описание методов

__construct() публичный Метод

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

createCompanies() публичный Метод

Creates new {@link Company} objects.
public createCompanies ( $companies ) : the
Результат the created companies with their IDs filled in

getCompaniesByStatement() публичный Метод

PQL Property Object Property
{@code id} {@link Company#id}
{@code name} {@link Company#name}
{@code type} {@link Company#type}
{@code lastModifiedDateTime} {@link Company#lastModifiedDateTime}
public getCompaniesByStatement ( $filterStatement ) : the
Результат the companies that match the given filter

updateCompanies() публичный Метод

Updates the specified {@link Company} objects.
public updateCompanies ( $companies ) : the
Результат the updated companies

Описание свойств

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string