PHP Class ContactService, googleads-php-lib

Inheritance: implements IService
Afficher le fichier Open project: googleads/googleads-php-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

Creates new {@link Contact} objects.
public createContacts ( $contacts ) : the
Résultat the created contacts with their IDs filled in

getContactsByStatement() public méthode

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
Résultat the contacts that match the given filter

updateContacts() public méthode

Updates the specified {@link Contact} objects.
public updateContacts ( $contacts ) : the
Résultat the updated contacts

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
Résultat array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
Résultat string