PHP 클래스 Horde_Core_Ajax_Response_HordeCore, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Core_Ajax_Response
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$cssfiles array CSS files to be loaded by the browser.
$jsfiles array JavaScript files to be loaded by the browser.
$jsonhtml boolean If true, output HTML-ized JSON instead of application/json.
$tasks object Task data to send to the browser.

공개 메소드들

메소드 설명
__construct ( mixed $data = null, mixed $tasks = null ) Constructor.
send ( )

보호된 메소드들

메소드 설명
_jsonData ( ) : object HordeCore JSON responses are a structured object which always includes the response in the 'response' property.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( mixed $data = null, mixed $tasks = null )
$data mixed Response data to send to browser.
$tasks mixed Task data to send to browser.

_jsonData() 보호된 메소드

The object may include a 'jsfiles' property, which is an array of URL-accessible javascript files to be loaded by the browser (since 2.10.0). The object may include a 'msgs' property, which is an array of notification message objects with 3 properties: flags, message, and type. The object may include a 'tasks' property, which is an array of keys (task names) / values (task data).
protected _jsonData ( ) : object
리턴 object HordeCore JSON object.

send() 공개 메소드

public send ( )

프로퍼티 상세

$cssfiles 공개적으로 프로퍼티

CSS files to be loaded by the browser.
부터: 2.25.0
public array $cssfiles
리턴 array

$jsfiles 공개적으로 프로퍼티

JavaScript files to be loaded by the browser.
부터: 2.10.0
public array $jsfiles
리턴 array

$jsonhtml 공개적으로 프로퍼티

If true, output HTML-ized JSON instead of application/json.
부터: 2.12.0
public bool $jsonhtml
리턴 boolean

$tasks 공개적으로 프로퍼티

Task data to send to the browser.
public object $tasks
리턴 object