PHP 클래스 IMP_Ajax_Application_Handler_ComposeAttach, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Core_Ajax_Application_Handler
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
addAttachment ( ) : object AJAX action: Add an attachment to a compose message.

메소드 상세

addAttachment() 공개 메소드

Variables used: - composeCache: (string) The IMP_Compose cache identifier. - file_id: (integer) Browser ID of file. - img_data: (boolean) If true, return image data. - json_return: (boolean) If true, returns JSON. Otherwise, JSON-HTML.
public addAttachment ( ) : object
리턴 object False on failure, or an object with the following properties: - action: (string) The action. - file_id: (integer) Browser ID of file. - img: (object) Image data, if 'img_data' is set. Properties: related, src - success: (integer) 1 on success (at least one successful attached file), 0 on failure.