Class mr_helper_recentactivity

Description

MR Helper Recent Activity

This helper is used to get recent activity after time X for a course or for a list of courses.

  • author: Mark Nielsen

Located in /helper/recentactivity.php (line 40)

mr_helper_abstract
   |
   --mr_helper_recentactivity
Method Summary
array direct (int $timestart, array|stdClass $courses, [mixed $otheruser = NULL])
Variables

Inherited Variables

Inherited from mr_helper_abstract

mr_helper_abstract::$_helper_namespace
Methods
direct (line 53)

Get recent activity for course(s)

The passed course(s) will get populated with recent activity and returned. EG: $course->recentactivity = array(...of activity...);

  • throws: Exception
  • access: public
array direct (int $timestart, array|stdClass $courses, [mixed $otheruser = NULL])
  • int $timestart: Look for activity after this time
  • array|stdClass $courses: An array of course objects or a single course object
  • mixed $otheruser: The user who will view the list of activity. If NULL, then currently logged in user is used.

Inherited Methods

Inherited From mr_helper_abstract

mr_helper_abstract::_set_helper_namespace()

Documentation generated on Thu, 28 Jun 2012 16:33:50 -0700 by phpDocumentor 1.4.3