PHP Trait Zendesk\API\Traits\Resource\MultipartUpload

Afficher le fichier Open project: zendesk/zendesk_api_client_php

Méthodes publiques

Méthode Description
getUploadName ( ) : String The using resource should define the upload name to use when uploading the file.
getUploadRequestMethod ( ) : String The using resource should define the upload name to use when uploading the file.
upload ( array $params, string $routeKey = __FUNCTION__ ) : null | stdClass Uploads an file with the given upload name.

Method Details

getUploadName() abstract public méthode

The using resource should define the upload name to use when uploading the file.
abstract public getUploadName ( ) : String
Résultat String

getUploadRequestMethod() abstract public méthode

The using resource should define the upload name to use when uploading the file.
abstract public getUploadRequestMethod ( ) : String
Résultat String

upload() public méthode

Uploads an file with the given upload name.
public upload ( array $params, string $routeKey = __FUNCTION__ ) : null | stdClass
$params array
$routeKey string
Résultat null | stdClass