|
Stud.IP
3.1 Revision 48552
|
Namespaces | |
| namespace | studip_core |
Functions | |
| if(Config::get()->getValue('CALENDAR_GROUP_ENABLE')) | MakeUniqueContactID () |
| MakeUniqueUserinfoID () | |
| ChangeBuddy ($contact_id) | |
| RemoveBuddy ($username) | |
| RemoveUserFromBuddys ($user_id) | |
| CheckBuddy ($username, $owner_id=FALSE) | |
| GetNumberOfBuddies () | |
| GetBuddyIDs ($user_id) | |
| GetSizeofBook () | |
| GetSizeOfBookByGroup () | |
| GetSizeOfBookByLetter () | |
| AddBuddy ($username) | |
| AddNewContact ($user_id) | |
| AddNewUserinfo ($contact_id, $name, $content) | |
| GetExtraUserinfo ($contact_id) | |
| GetUserInfo ($user_id) | |
| GetinstInfo ($user_id) | |
| ShowUserInfo ($contact_id) | |
| ShowContact ($contact_id) | |
| SearchResults ($search_exp) | |
| ShowEditContact ($contact_id) | |
| MoveUserinfo ($userinfo_id) | |
| UpdateUserinfo ($name, $content, $userinfo_id) | |
| ResortUserinfo ($contact_id) | |
| DeleteUserinfo ($userinfo_id) | |
| DeleteContact ($contact_id) | |
| DeleteAdressbook ($owner_id) | |
| PrintEditContact ($edit_id) | |
| PrintAllContact ($filter="") | |
| switch_member_cal ($user_id, $permission) | |
| AddBuddy | ( | $username | ) |
When adding a buddy this way, triggers a BuddyDidAdd notification using the new contact_id as subject.


| AddNewContact | ( | $user_id | ) |


| AddNewUserinfo | ( | $contact_id, | |
| $name, | |||
| $content | |||
| ) |

| ChangeBuddy | ( | $contact_id | ) |
Toggles the buddy-flag for the passed contact.
When adding a buddy this way, triggers a BuddyDidAdd notification using the contact_id as subject.
| string | $contact_id | the md5-hash of the contact (not the user_id!) |

| CheckBuddy | ( | $username, | |
$owner_id = FALSE |
|||
| ) |


| DeleteAdressbook | ( | $owner_id | ) |


| DeleteContact | ( | $contact_id | ) |


| DeleteUserinfo | ( | $userinfo_id | ) |

| GetBuddyIDs | ( | $user_id | ) |


| GetExtraUserinfo | ( | $contact_id | ) |


| GetinstInfo | ( | $user_id | ) |

| GetNumberOfBuddies | ( | ) |


| GetSizeofBook | ( | ) |

| GetSizeOfBookByGroup | ( | ) |

| GetSizeOfBookByLetter | ( | ) |

| GetUserInfo | ( | $user_id | ) |


| if (Config::get()->getValue('CALENDAR_GROUP_ENABLE')) MakeUniqueContactID | ( | ) |
built a not existing ID
private


| MakeUniqueUserinfoID | ( | ) |


| MoveUserinfo | ( | $userinfo_id | ) |

| PrintAllContact | ( | $filter = "" | ) |

| PrintEditContact | ( | $edit_id | ) |

| RemoveBuddy | ( | $username | ) |


| RemoveUserFromBuddys | ( | $user_id | ) |


| ResortUserinfo | ( | $contact_id | ) |


| SearchResults | ( | $search_exp | ) |
Search for an user containing the passed string in his first name, last name or username, excluding the searching user itself an all invisible users Returns a HTML select-box
| string | $search_exp | the search string to search for |

| ShowContact | ( | $contact_id | ) |


| ShowEditContact | ( | $contact_id | ) |


| ShowUserInfo | ( | $contact_id | ) |


| switch_member_cal | ( | $user_id, | |
| $permission | |||
| ) |

| UpdateUserinfo | ( | $name, | |
| $content, | |||
| $userinfo_id | |||
| ) |
