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

Procedural File: user_list.php

Source Location: /main/admin/user_list.php



Page Details:



Includes:

require('../inc/global.inc.php') [line 36]
require_once(usermanager.lib.php) [line 380]
require_once(security.lib.php) [line 39]
require_once(api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php') [line 38]
require_once(sortabletable.class.php) [line 37]






active_filter [line 319]

string active_filter( int $active, string $url_params, $row, int $user_id)

Build the active-column of the table to lock or unlock a certain user

lock = the user can no longer use this account




Tags:

return:  Some HTML-code with the lock/unlock button
author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

int   $active   the current state of the account
int   $user_id   The user id
string   $url_params  
   $row  
[ Top ]



email_filter [line 278]

string email_filter( string $email)

Returns a mailto-link



Tags:

return:  HTML-code with a mailto-link


Parameters

string   $email   An email-address
[ Top ]



get_number_of_users [line 156]

void get_number_of_users( )

Get the total number of users on the platform



Tags:

see:  get_total_number_of_items()


[ Top ]



get_user_data [line 208]

void get_user_data( $from, $number_of_items, $column, $direction)

Get the users to display on the current page.



Tags:

see:  get_table_data($from)


Parameters

   $from  
   $number_of_items  
   $column  
   $direction  
[ Top ]



lock_unlock_user [line 348]

language lock_unlock_user( $status, int $user_id, int $status,)

lock or unlock a user



Tags:

return:  variable
author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


Parameters

int   $status,   do we want to lock the user ($status=lock) or unlock it ($status=unlock)
int   $user_id   The user id
   $status  
[ Top ]



login_user [line 50]

void login_user( $user_id)

Make sure this function is protected because it does NOT check password!

This function defines globals.




Tags:

author:  Roan Embrechts


Parameters

   $user_id  
[ Top ]



Documentation generated on Wed, 05 Sep 2007 06:15:14 +0200 by phpDocumentor 1.4.0