PHP 클래스 Prado\Web\Services\TJsonResponse

TJsonResponse is the base class for all JSON response provider classes. Derived classes must implement {@link getJsonContent()} to return an object or literals to be converted to JSON format. The response will be empty if the returned content is null.
부터: 3.1
상속: extends Prado\TApplicationComponent
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
getID ( ) : string
getJsonContent ( ) : object
init ( $config ) Initializes the feed.
setID ( $value )

메소드 상세

getID() 공개 메소드

public getID ( ) : string
리턴 string ID of this response

getJsonContent() 추상적인 공개 메소드

abstract public getJsonContent ( ) : object
리턴 object json response content, null to suppress output.

init() 공개 메소드

Initializes the feed.
public init ( $config )

setID() 공개 메소드

public setID ( $value )