Property | Type | Description | |
---|---|---|---|
$classmap | array | Default class map for wsdl=>php | |
$endpoint | string | The endpoint of the service |
Method | Description | |
---|---|---|
__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 | ||
return | A | list of {@code Media} objects. |
public query ( $query ) |
public upload ( $media ) : A | ||
return | A | list of uploaded media in the same order as the argument list. |
public static array $classmap | ||
return | array |
public static string $endpoint | ||
return | string |