dokeos
[ class tree: dokeos ] [ index: dokeos ] [ all elements ]

Procedural File: new_message.php

Source Location: /plugin/messages/new_message.php



Page Details:



Tags:

filesource:  Source Code for this file


Includes:

include_once('../../main/inc/global.inc.php') [line 39]
This script shows a compose area (wysiwyg editor if supported, otherwise a simple textarea) where the user can type a message.

There are three modes

  • standard: type a message, select a user to send it to, press send
  • reply on message (when pressing reply when viewing a message)
  • send to specific user (when pressing send message in the who is online list)


require_once('./functions.inc.php') [line 42]
require_once(api_get_path(LIBRARY_PATH).'/formvalidator/FormValidator.class.php') [line 44]
require_once(api_get_path(LIBRARY_PATH).'/text.lib.php') [line 43]






manage_form [line 113]

void manage_form( $default, [ $select_from_user_list = null])



Parameters

   $default  
   $select_from_user_list  
[ Top ]



show_compose_reply_to_message [line 83]

void show_compose_reply_to_message( $message_id, $receiver_id)



Parameters

   $message_id  
   $receiver_id  
[ Top ]



show_compose_to_any [line 76]

void show_compose_to_any( $user_id)

Shows the compose area + a list of users to select from.



Parameters

   $user_id  
[ Top ]



show_compose_to_user [line 103]

void show_compose_to_user( $receiver_id)



Parameters

   $receiver_id  
[ Top ]



Documentation generated on Thu, 12 Jun 2008 14:07:32 -0500 by phpDocumentor 1.4.1