Abstract xAPI actor class.
More...
|
stdClass | $data |
| the item structure.
|
|
Abstract xAPI actor class.
This class extends from item_object instead of basic item because both actors (agent and group) could be used as statement actor or object.
- Copyright
- 2020 Ferran Recio
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ create_from_data()
static core_xapi\local\statement\item_actor::create_from_data |
( |
stdClass |
$data | ) |
|
|
static |
◆ get_all_users()
core_xapi\local\statement\item_actor::get_all_users |
( |
| ) |
|
|
abstract |
◆ get_data()
core_xapi\local\statement\item::get_data |
( |
| ) |
|
|
inherited |
Return the original data from this item.
- Return values
-
stdClass | the original data structure |
◆ get_user()
core_xapi\local\statement\item_actor::get_user |
( |
| ) |
|
|
abstract |
◆ jsonSerialize()
core_xapi\local\statement\item::jsonSerialize |
( |
| ) |
|
|
inherited |
Return the data to serialize in case JSON statement is needed.
- Return values
-
stdClass | the original data structure |
The documentation for this class was generated from the following file: