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

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

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

Свойство Тип Описание
$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
createContacts ( $contacts ) : the Creates new {@link Contact} objects.
getContactsByStatement ( $statement ) : the Gets a {@link ContactPage} of {@link Contact} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateContacts ( $contacts ) : the Updates the specified {@link Contact} 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

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

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

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

PQL Property Object Property
{@code name} {@link Contact#name}
{@code email} {@link Contact#email}
{@code id} {@link Contact#id}
{@code comment} {@link Contact#comment}
{@code companyId} {@link Contact#companyId}
{@code title} {@link Contact#title}
{@code cellPhone} {@link Contact#cellPhone}
{@code workPhone} {@link Contact#workPhone}
{@code faxPhone} {@link Contact#faxPhone}
{@code status} {@link Contact#status}
public getContactsByStatement ( $statement ) : the
Результат the contacts that match the given filter

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

Updates the specified {@link Contact} objects.
public updateContacts ( $contacts ) : the
Результат the updated contacts

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

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

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

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

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