PHP 클래스 Zendesk\API\Resources\Core\Attachments

상속: extends Zendesk\API\Resources\ResourceAbstract, use trait Zendesk\API\Traits\Resource\Delete, use trait Zendesk\API\Traits\Resource\Find
파일 보기 프로젝트 열기: zendesk/zendesk_api_client_php

공개 메소드들

메소드 설명
deleteUpload ( $token ) : boolean Delete a resource
upload ( array $params ) : stdClass Upload an attachment $params must include: 'file' - an attribute with the absolute local file path on the server 'type' - the MIME type of the file Optional: 'optional_token' - an existing token 'name' - preferred filename

보호된 메소드들

메소드 설명
setUpRoutes ( )

메소드 상세

deleteUpload() 공개 메소드

Delete a resource
public deleteUpload ( $token ) : boolean
$token
리턴 boolean

setUpRoutes() 보호된 메소드

protected setUpRoutes ( )

upload() 공개 메소드

Upload an attachment $params must include: 'file' - an attribute with the absolute local file path on the server 'type' - the MIME type of the file Optional: 'optional_token' - an existing token 'name' - preferred filename
public upload ( array $params ) : stdClass
$params array
리턴 stdClass | null