Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
contact.inc.php File Reference

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)

Function Documentation

AddBuddy (   $username)

When adding a buddy this way, triggers a BuddyDidAdd notification using the new contact_id as subject.

Here is the call graph for this function:

Here is the caller graph for this function:

AddNewContact (   $user_id)

Here is the call graph for this function:

Here is the caller graph for this function:

AddNewUserinfo (   $contact_id,
  $name,
  $content 
)

Here is the call graph for this function:

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.

Parameters
string$contact_idthe md5-hash of the contact (not the user_id!)
Returns
bool

Here is the call graph for this function:

CheckBuddy (   $username,
  $owner_id = FALSE 
)

Here is the call graph for this function:

Here is the caller graph for this function:

DeleteAdressbook (   $owner_id)

Here is the call graph for this function:

Here is the caller graph for this function:

DeleteContact (   $contact_id)

Here is the call graph for this function:

DeleteUserinfo (   $userinfo_id)

Here is the call graph for this function:

GetBuddyIDs (   $user_id)

Here is the call graph for this function:

GetExtraUserinfo (   $contact_id)

Here is the call graph for this function:

Here is the caller graph for this function:

GetinstInfo (   $user_id)

Here is the call graph for this function:

GetNumberOfBuddies ( )

Here is the call graph for this function:

GetSizeofBook ( )

Here is the call graph for this function:

GetSizeOfBookByGroup ( )

Here is the call graph for this function:

GetSizeOfBookByLetter ( )

Here is the call graph for this function:

GetUserInfo (   $user_id)

Here is the call graph for this function:

Here is the caller graph for this function:

if (Config::get()->getValue('CALENDAR_GROUP_ENABLE')) MakeUniqueContactID ( )

built a not existing ID

private

Returns
string

Here is the call graph for this function:

Here is the caller graph for this function:

MakeUniqueUserinfoID ( )

Here is the call graph for this function:

Here is the caller graph for this function:

MoveUserinfo (   $userinfo_id)

Here is the call graph for this function:

PrintAllContact (   $filter = "")

Here is the call graph for this function:

PrintEditContact (   $edit_id)

Here is the call graph for this function:

RemoveBuddy (   $username)

Here is the call graph for this function:

Here is the caller graph for this function:

RemoveUserFromBuddys (   $user_id)

Here is the call graph for this function:

Here is the caller graph for this function:

ResortUserinfo (   $contact_id)

Here is the call graph for this function:

Here is the caller graph for this function:

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

Parameters
string$search_expthe search string to search for
Returns
string a HTML select-box containing all results

Here is the call graph for this function:

ShowContact (   $contact_id)

Here is the call graph for this function:

Here is the caller graph for this function:

ShowEditContact (   $contact_id)

Here is the call graph for this function:

Here is the caller graph for this function:

ShowUserInfo (   $contact_id)

Here is the call graph for this function:

Here is the caller graph for this function:

switch_member_cal (   $user_id,
  $permission 
)

Here is the call graph for this function:

UpdateUserinfo (   $name,
  $content,
  $userinfo_id 
)

Here is the call graph for this function: