Public Member Functions |
| | about ($username, $msg) |
| | get_auth_user ($username) |
| | get_user_details () |
| | allowedInstitutePerms () |
| | select_studiengang () |
| | select_abschluss () |
| | select_userdomain () |
| | select_inst () |
| | my_error ($msg) |
| | my_msg ($msg) |
| | my_info ($msg) |
| | parse_msg ($long_msg, $separator="§") |
| | change_global_visibility ($global, $online, $search, $email, $foaf_show_identity) |
| | change_all_homepage_visibility ($new_visibility) |
| | set_default_homepage_visibility ($visibility) |
| | change_homepage_visibility ($data) |
| | get_homepage_elements () |
| | messaging () |
| | delete_message ($message_id, $user_id=FALSE, $force=FALSE) |
| | delete_all_messages ($user_id=FALSE, $force=FALSE) |
| | set_read_message ($message_id) |
| | set_read_all_messages () |
| | user_wants_email ($userid) |
| | sendingEmail ($rec_user_id, $snd_user_id, $message, $subject, $message_id) |
| | get_forward_id ($id) |
| | get_forward_copy ($id) |
| | insert_message ($message, $rec_uname, $user_id='', $time='', $tmp_message_id='', $set_deleted='', $signature='', $subject='', $force_email='', $priority='normal') |
| | delete_buddy ($username) |
| | add_buddy ($username) |
| | check_newmsgfoldername ($foldername) |
Member Function Documentation
| about |
( |
|
$username, |
|
|
|
$msg |
|
) |
| |
| allowedInstitutePerms |
( |
| ) |
|
This function returns the perms allowed for an institute for the current user
- Returns
- array list of perms
| change_all_homepage_visibility |
( |
|
$new_visibility | ) |
|
Changes the visibility of all homepage elements to the given value.
- Parameters
-
| int | $new_visibility | new visiblity of homepage elements, one of the visibility constants defined in lib/user_visible.inc.php. |
- Returns
- array All of the user's hoempage elements with new visibility set.
| change_global_visibility |
( |
|
$global, |
|
|
|
$online, |
|
|
|
$search, |
|
|
|
$email, |
|
|
|
$foaf_show_identity |
|
) |
| |
Changes visibility settings for the current user.
- Parameters
-
| string | $global | global visibility of the account in Stud.IP |
| string | $online | visiblity in "Who is online" list |
| string | $search | visiblity in user search |
| string | $email | visibility of the email address |
- Returns
- boolean All settings saved?
| change_homepage_visibility |
( |
|
$data | ) |
|
Saves user specified visibility settings for homepage elements.
- Parameters
-
| array | $data | all homepage elements with their visiblities in the form $name => $visibility |
- Returns
- int Number of affected database rows (hopefully 1).
| get_auth_user |
( |
|
$username | ) |
|
| get_homepage_elements |
( |
| ) |
|
Builds an array containing all available elements that are part of a user's homepage together with their visibility. It isn't sufficient to just load the visibility settings from database, because if the user has added some data (e.g. CV) but not yet assigned a special visibility to that field, it wouldn't show up.
- Returns
- array An array containing all available homepage elements together with their visibility settings in the form $name => $visibility.
| parse_msg |
( |
|
$long_msg, |
|
|
|
$separator = "§" |
|
) |
| |
Hilfsfunktion, erzeugt eine Auswahlbox mit noch auswählbaren Abschluesse
Hilfsfunktion, erzeugt eine Auswahlbox mit noch auswählbaren Instituten
Hilfsfunktion, erzeugt eine Auswahlbox mit noch auswählbaren Studiengängen
| set_default_homepage_visibility |
( |
|
$visibility | ) |
|
Sets a default visibility for elements that are added to a user's homepage but whose visibility hasn't been configured explicitly yet.
- Parameters
-
| int | $visibility | default visibility for new homepage elements |
- Returns
- Number of affected database rows (hopefully 1).
Field Documentation
| $default_url = "http://www" |
| $user_fach_abschluss = array() |
| $user_userdomains = array() |
The documentation for this class was generated from the following file: