PHP Класс TeamService, 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
createTeams ( $teams ) : the Creates new {@link Team} objects.
getTeamsByStatement ( $filterStatement ) : the Gets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateTeams ( $teams ) : the Updates the specified {@link Team} 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

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

The following fields are required:
  • {@link Team#name}
public createTeams ( $teams ) : the
Результат the created teams with their IDs filled in

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

PQL Property Object Property
{@code id} {@link Team#id}
{@code name} {@link Team#name}
{@code description} {@link Team#description}
public getTeamsByStatement ( $filterStatement ) : the
Результат the teams that match the given filter

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

Updates the specified {@link Team} objects.
public updateTeams ( $teams ) : the
Результат the updated teams

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

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

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

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

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