프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$__version | string | Override version | |
$data | mixed | This property can be a string or - usually - an array. | |
$error | string | User define error code or string | |
$message | string | Usually an alert message feedback |
메소드 | 설명 | |
---|---|---|
__construct ( ) : WPDKAjaxResponse | Create an instance of WPDKAjaxResponse class | |
json ( ) | Send a JSON response back to an Ajax request. |
public __construct ( ) : WPDKAjaxResponse | ||
리턴 | WPDKAjaxResponse |