|
static | execute (string $component, string $requestjson) |
| Process a statement post request.
|
|
static | execute_parameters () |
| Parameters for execute.
|
|
static | execute_returns () |
| Return for execute.
|
|
◆ execute()
static core_xapi\external\post_statement::execute |
( |
string | $component, |
|
|
string | $requestjson ) |
|
static |
Process a statement post request.
- Parameters
-
string | $component | component name (frankenstyle) |
string | $requestjson | json object with all the statements to post |
- Return values
-
bool[] | storing acceptance of every statement |
◆ execute_parameters()
static core_xapi\external\post_statement::execute_parameters |
( |
| ) |
|
|
static |
Parameters for execute.
- Return values
-
external_function_parameters | |
◆ validate_component()
static core_xapi\external\post_statement::validate_component |
( |
string | $component | ) |
|
|
staticprotected |
Check component name.
Note: this function is separated mainly for testing purposes to be overridden to fake components.
- Exceptions
-
xapi_exception | if component is not available |
- Parameters
-
string | $component | component name |
The documentation for this class was generated from the following file:
- lib/xapi/classes/external/post_statement.php