Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
This files describes API changes in core_xapi libraries and APIs,information provided here is intended especially for developers.=== 4.3 ===* The default state store will throw and exception if the activity ID is nota numeric value. This is to avoid problems with the database when usingthe default state store. If a plugin requires a non numeric activity ID,it must implement its own state store.* New xAPI state webservices:- core_xapi_delete_states: delete all user state data for an activity=== 4.2 ===* A new state store has been introduced. Now plugins can store state databy overriding the PLUGINNAME\xapi\handler::validate_state method.* New core_xapi\state_store class to handle the state data storing. Pluginscan provide alternative state store implementations by overriding thePLUGINNAME\xapi\handler::get_state_store method.* New xAPI state webservices:- core_xapi_post_state: store a user state data- core_xapi_get_state: gets a user state data- core_xapi_get_states: get the list of user states- core_xapi_delete_state: delete a user state data