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

Procedural File: functions.inc.php

Source Location: /plugin/messages/functions.inc.php



Page Details:



Tags:

author:  
version:  $Id: functions.inc.php 12281 2007-05-03 16:25:12Z yannoo $
todo:  use database library
filesource:  Source Code for this file


Includes:

include_once(api_get_path(LIBRARY_PATH).'/online.inc.php') [line 27]


Tags:

author:  
version:  $Id: functions.inc.php 12281 2007-05-03 16:25:12Z yannoo $
todo:  use database library
filesource:  Source Code for this file





MESSAGES_DATABASE [line 29]

MESSAGES_DATABASE = "messages"

[ Top ]




display_html_editor_area [line 109]

void display_html_editor_area( $name, $resp)

Displays the wysiwyg html editor.



Parameters

   $name  
   $resp  
[ Top ]



display_success_message [line 50]

void display_success_message( $uid)

Displays info stating that the message is sent successfully.



Parameters

   $uid  
[ Top ]



get_message_data [line 162]

void get_message_data( int $from, int $number_of_items, $column, string $direction)

Gets information about some messages, used for the inbox sortable table



Parameters

int   $from  
int   $number_of_items  
string   $direction  
   $column  
[ Top ]



get_new_messages [line 117]

void get_new_messages( )

Get the new messages for the current user from the database.



[ Top ]



get_number_of_messages [line 148]

void get_number_of_messages( )

Gets the total number of messages, used for the inbox sortable table



[ Top ]



get_online_user_list [line 33]

void get_online_user_list( $current_user_id)



Parameters

   $current_user_id  
[ Top ]



inbox_display [line 186]

void inbox_display( )

Displays the inbox of a user, listing all messages.

In the process of moving towards sortable table.




[ Top ]



users_connected_by_id [line 133]

void users_connected_by_id( )

Get the list of user_ids of users who are online.



[ Top ]



validate_text [line 68]

void validate_text( $texto)



Tags:

todo:  this function seems no longer user but is still mentioned in comments, what can be the use?


Parameters

   $texto  
[ Top ]



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