RusticiSoftware / TinCanPHP

PHP library for the Experience API (Tin Can API)
http://rusticisoftware.github.io/TinCanPHP/
Apache License 2.0
87 stars 78 forks source link

use State API with registration for cmi5 #87

Closed knowledgeplaces closed 7 years ago

knowledgeplaces commented 7 years ago

In XPerience API, registration is optional in the State API. In cmi5, it is required. I digged into the TinCanPhp source code and found: `namespace TinCan;

interface LRSInterface { public function about(); ... public function saveState($activity, $agent, $id, $content);`

So it sounds the library does not natively implement the registration parameter. Please correct if I am wrong, and confirm I will have to update the code to handle it.

knowledgeplaces commented 7 years ago

Digged deeper and found how it is implemented.