|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilECSResult:Public Member Functions | |
| __construct (string $a_res, int $a_type=self::RESULT_TYPE_JSON) | |
| Constructor. More... | |
| setHTTPCode (int $a_code) | |
| set HTTP return code More... | |
| getHTTPCode () | |
| get HTTP code More... | |
| getResult () | |
| get result More... | |
| getResultType () | |
| setHeaders (array $a_headers) | |
| Set header. More... | |
| getHeaders () | |
| get headers More... | |
Data Fields | |
| const | RESULT_TYPE_JSON = 1 |
| const | RESULT_TYPE_URL_LIST = 2 |
Private Member Functions | |
| init (string $result_string, int $result_type) | |
| init result (json_decode) More... | |
| parseUriList (string $a_content) | |
Private Attributes | |
| int | $http_code = 0 |
| int | $result_type |
| $result | |
| array | $headers = array() |
Definition at line 23 of file class.ilECSResult.php.
| ilECSResult::__construct | ( | string | $a_res, |
| int | $a_type = self::RESULT_TYPE_JSON |
||
| ) |
Constructor.
@access public
| string | result_string |
| int | result type |
| ilECSConnectorException |
Definition at line 43 of file class.ilECSResult.php.
References init().
Here is the call graph for this function:| ilECSResult::getHeaders | ( | ) |
get headers
Definition at line 99 of file class.ilECSResult.php.
| ilECSResult::getHTTPCode | ( | ) |
get HTTP code
@access public
Definition at line 67 of file class.ilECSResult.php.
References $http_code.
| ilECSResult::getResult | ( | ) |
get result
Definition at line 77 of file class.ilECSResult.php.
References $result.
| ilECSResult::getResultType | ( | ) |
|
private |
init result (json_decode)
Definition at line 107 of file class.ilECSResult.php.
References $result_type, 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 |
| string | $a_content |
Definition at line 129 of file class.ilECSResult.php.
Referenced by init().
Here is the caller graph for this function:| ilECSResult::setHeaders | ( | array | $a_headers | ) |
Set header.
| array | $a_headers |
Definition at line 91 of file class.ilECSResult.php.
| ilECSResult::setHTTPCode | ( | int | $a_code | ) |
set HTTP return code
@access public
| string | http code |
Definition at line 57 of file class.ilECSResult.php.
|
private |
Definition at line 32 of file class.ilECSResult.php.
|
private |
Definition at line 28 of file class.ilECSResult.php.
Referenced by getHTTPCode().
|
private |
Definition at line 30 of file class.ilECSResult.php.
Referenced by getResult().
|
private |
Definition at line 29 of file class.ilECSResult.php.
Referenced by getResultType(), and init().
| const ilECSResult::RESULT_TYPE_JSON = 1 |
Definition at line 25 of file class.ilECSResult.php.
Referenced by init().
| const ilECSResult::RESULT_TYPE_URL_LIST = 2 |
Definition at line 26 of file class.ilECSResult.php.
Referenced by ilECSDirectoryTreeConnector\getDirectoryTrees(), ilECSConnector\getResourceList(), and init().