Activity::prefetch_actors()

Method: Prefetch actors of activities and cache them.

Activity::prefetch_comments()

Method: Pre fetch comments of activities and cache them.

Activity::have_group()

Method: Check if current activity have group.

Activity::group_start()

Method: Start group.

Activity::group_end()

Method: End group loop.

Activity_Helper::get_activity()

Method: Get activity by activity_id.

Activity_Helper::delete()

Method: Delete single and multiple activity from database.

Activity::__construct()

Method: Initialize the activity class.

Activity::query()

Method: Prepare and fetch notifications from database.

Activity_Helper::prepare_actions()

Method: Prepare all actions of activity. Numeric keys are used here so that we can save space while saving in database.