Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
contact_export.php File Reference

Functions

 printSiteTitle ()
 printSelectGroup ($infobox, $groups)
 createButton ($button, $title, $name=NULL, $value=NULL)
 getContactGroups ()
 getContactGroupData ($exportID, $mode="group")
 exportVCard ($contacts)

Variables

else $mode = "select_group"

Function Documentation

createButton (   $button,
  $title,
  $name = NULL,
  $value = NULL 
)

creates an image-button

private

Parameters
string$buttonthe button name (send to makeButton())
string$titlethe label
string$buttonthe button name (optional)
string$alignthe button value (optional)
Returns
string the button

Here is the call graph for this function:

exportVCard (   $contacts)

collects the data from one contactgoup or all contacts

private

Parameters
string$groupIDthe selected group
Returns
array the contact group data
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 ( )

collects the contactgroups from user

private

Returns
array the contact groups
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 ( )

displays the site title

private

Variable Documentation

else $mode = "select_group"