Свойство | Тип | Описание | |
---|---|---|---|
$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 | |
get ( $serviceSelector ) : A | This field is required and should not be {@code null}. | |
query ( $query ) | This field is required and should not be {@code null}. | |
upload ( $media ) : A | Uploads new media. Currently, you can upload {@link Image} files and {@link MediaBundle}s. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
Note: {@code MediaService} will not return any {@link ImageAd} image files.
public get ( $serviceSelector ) : A | ||
Результат | A | list of {@code Media} objects. |
public query ( $query ) |
public upload ( $media ) : A | ||
Результат | A | list of uploaded media in the same order as the argument list. |
public static array $classmap | ||
Результат | array |
public static string $endpoint | ||
Результат | string |