Stud.IP  2.5 Revision
contact_export.php File Reference

Functions

 printSiteTitle ()
 
 printSelectGroup ($infobox, $groups)
 
 getContactGroups ()
 
 getContactGroupData ($exportID, $mode='group')
 
 exportVCard ($contacts)
 

Variables

 $contactid = Request::option('contactid')
 
 $username = Request::quoted('username')
 
 $groupid = Request::option('groupid')
 
else $mode = "select_group"
 

Function Documentation

◆ exportVCard()

exportVCard (   $contacts)

collects the data from one contactgoup or all contacts

private

Parameters
string$groupIDthe selected group
Returns
array the contact group data

◆ getContactGroupData()

getContactGroupData (   $exportID,
  $mode = 'group' 
)

collects the data from one contactgoup or all contacts

private

Parameters
string$groupIDthe selected group
Returns
array the contact group data
Here is the call graph for this function:

◆ getContactGroups()

getContactGroups ( )

collects the contactgroups from user

private

Returns
array the contact groups
Here is the call graph for this function:

◆ printSelectGroup()

printSelectGroup (   $infobox,
  $groups 
)

displays the semester selection page

private

Parameters
array$infoboxthe infobox for this site
array$semestersARthe array with the semesters to select
Here is the call graph for this function:

◆ printSiteTitle()

printSiteTitle ( )

displays the site title

private

Variable Documentation

◆ $contactid

$contactid = Request::option('contactid')

◆ $groupid

$groupid = Request::option('groupid')

◆ $mode

else $mode = "select_group"

◆ $username