Public Member Functions | |
| __contruct ($courseId) | |
| deleteAll () | |
| deleteBefore ($date) | |
| deleteForUser ($userId, $date=null) | |
This class defines main methods used in the tracking manager
Definition at line 21 of file trackingManager.class.php.
| __contruct | ( | $ | courseId | ) |
Constructor
| int | $courseId id of course we want to manage tracking |
Definition at line 27 of file trackingManager.class.php.
| deleteAll | ( | ) | [abstract] |
Delete all tracking about the related to the module that extends this TrackingManager
Reimplemented in CLTRACK_CourseAccessTrackingManager, and CLTRACK_ToolAccessTrackingManager.
| deleteBefore | ( | $ | date | ) | [abstract] |
Delete all tracking prior to date $date about the related to the module that extends this TrackingManager
| timestamp | $date |
Reimplemented in CLTRACK_CourseAccessTrackingManager, and CLTRACK_ToolAccessTrackingManager.
| deleteForUser | ( | $ | userId, | |
| $ | date = null | |||
| ) | [abstract] |
Delete all tracking about a user in the related to the module that extends this TrackingManager A date can be specified to delete only events prior to this date
| int | $userId user id | |
| timestamp | $date |
Reimplemented in CLTRACK_CourseAccessTrackingManager, and CLTRACK_ToolAccessTrackingManager.
1.6.3