[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/mod/chat/ -> lib.php (summary)

(no description)

File Size: 825 lines (30 kb)
Included or required: 13 times
Referenced: 0 times
Includes or requires: 0 files

Defines 25 functions

  move()
  padding()
  chat_add_instance()
  chat_update_instance()
  chat_delete_instance()
  chat_user_outline()
  chat_user_complete()
  chat_print_recent_activity()
  chat_cron()
  chat_get_participants()
  chat_refresh_events()
  chat_get_users()
  chat_get_latest_message()
  chat_login_user()
  chat_delete_old_users()
  chat_update_chat_times()
  chat_format_message_manually()
  chat_format_message()
  chat_get_view_actions()
  chat_get_post_actions()
  chat_print_overview()
  chat_reset_course_form_definition()
  chat_reset_course_form_defaults()
  chat_reset_userdata()
  chat_get_extra_capabilities()

Functions
Functions that are not part of a class:

move()   X-Ref
No description

padding($n)   X-Ref
No description

chat_add_instance($chat)   X-Ref
No description

chat_update_instance($chat)   X-Ref
No description

chat_delete_instance($id)   X-Ref
No description

chat_user_outline($course, $user, $mod, $chat)   X-Ref
No description

chat_user_complete($course, $user, $mod, $chat)   X-Ref
No description

chat_print_recent_activity($course, $viewfullnames, $timestart)   X-Ref
No description

chat_cron()   X-Ref
No description

chat_get_participants($chatid, $groupid=0)   X-Ref
No description

chat_refresh_events($courseid = 0)   X-Ref
No description

chat_get_users($chatid, $groupid=0, $groupingid=0)   X-Ref
No description

chat_get_latest_message($chatid, $groupid=0)   X-Ref
No description

chat_login_user($chatid, $version, $groupid, $course)   X-Ref
No description

chat_delete_old_users()   X-Ref
No description

chat_update_chat_times($chatid=0)   X-Ref
No description

chat_format_message_manually($message, $courseid, $sender, $currentuser, $chat_lastrow=NULL)   X-Ref
No description

chat_format_message($message, $courseid, $currentuser, $chat_lastrow=NULL)   X-Ref
No description

chat_get_view_actions()   X-Ref
No description

chat_get_post_actions()   X-Ref
No description

chat_print_overview($courses, &$htmlarray)   X-Ref
No description

chat_reset_course_form_definition(&$mform)   X-Ref
Implementation of the function for printing the form elements that control
whether the course reset functionality affects the chat.

param: $mform form passed by reference

chat_reset_course_form_defaults($course)   X-Ref
Course reset form defaults.


chat_reset_userdata($data)   X-Ref
Actual implementation of the rest coures functionality, delete all the
chat messages for course $data->courseid.

param: $data the data submitted from the reset course.
return: array status array

chat_get_extra_capabilities()   X-Ref
Returns all other caps used in module




Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7