|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilECSResult:Public Member Functions | |
| __construct ($a_res, $a_type=self::RESULT_TYPE_JSON) | |
| Constructor. More... | |
| setHTTPCode ($a_code) | |
| set HTTP return code More... | |
| getHTTPCode () | |
| get HTTP code More... | |
| getPlainResultString () | |
| get unformated result string More... | |
| getResult () | |
| get result More... | |
| setHeaders ($a_headers) | |
| Set header. More... | |
| getHeaders () | |
| get headers More... | |
Data Fields | |
| const | RESULT_TYPE_JSON = 1 |
| const | RESULT_TYPE_URL_LIST = 2 |
Protected Attributes | |
| $log | |
| $result_string = '' | |
| $http_code = '' | |
| $result | |
| $result_type | |
| $headers = array() | |
Private Member Functions | |
| init () | |
| init result (json_decode) @access private More... | |
| parseUriList ($a_content) | |
Definition at line 35 of file class.ilECSResult.php.
| ilECSResult::__construct | ( | $a_res, | |
$a_type = self::RESULT_TYPE_JSON |
|||
| ) |
Constructor.
@access public
| string | result_string |
| int | result type |
| ilECSConnectorException |
Definition at line 58 of file class.ilECSResult.php.
Here is the call graph for this function:| ilECSResult::getHeaders | ( | ) |
get headers
@access public
Definition at line 131 of file class.ilECSResult.php.
| ilECSResult::getHTTPCode | ( | ) |
get HTTP code
@access public
Definition at line 89 of file class.ilECSResult.php.
References $http_code.
| ilECSResult::getPlainResultString | ( | ) |
get unformated result string
@access public
Definition at line 100 of file class.ilECSResult.php.
References $result_string.
Referenced by parseUriList().
Here is the caller graph for this function:| ilECSResult::getResult | ( | ) |
get result
@access public
Definition at line 112 of file class.ilECSResult.php.
References $result.
|
private |
init result (json_decode) @access private
Definition at line 141 of file class.ilECSResult.php.
References parseUriList(), RESULT_TYPE_JSON, and RESULT_TYPE_URL_LIST.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| <type> | $a_content |
Definition at line 164 of file class.ilECSResult.php.
References getPlainResultString().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSResult::setHeaders | ( | $a_headers | ) |
Set header.
| array | $a_headers |
Definition at line 121 of file class.ilECSResult.php.
| ilECSResult::setHTTPCode | ( | $a_code | ) |
set HTTP return code
@access public
| string | http code |
Definition at line 79 of file class.ilECSResult.php.
|
protected |
Definition at line 47 of file class.ilECSResult.php.
|
protected |
Definition at line 43 of file class.ilECSResult.php.
Referenced by getHTTPCode().
|
protected |
Definition at line 40 of file class.ilECSResult.php.
|
protected |
Definition at line 44 of file class.ilECSResult.php.
Referenced by getResult().
|
protected |
Definition at line 42 of file class.ilECSResult.php.
Referenced by getPlainResultString().
|
protected |
Definition at line 45 of file class.ilECSResult.php.
| const ilECSResult::RESULT_TYPE_JSON = 1 |
Definition at line 37 of file class.ilECSResult.php.
Referenced by init().
| const ilECSResult::RESULT_TYPE_URL_LIST = 2 |
Definition at line 38 of file class.ilECSResult.php.
Referenced by ilECSDirectoryTreeConnector\getDirectoryTrees(), ilECSConnector\getResourceList(), and init().