Contact cards for employees on the website
Note: To order printed business cards, please use the Printgenerator (only in the campus network). Printing is carried out by the Print Service of the TU Chemnitz.
With the vCard function presented here, contact data of employees of the TU Chemnitz can be displayed uniformly.
- Query and output of contact data (name, e-mail, telephone, photo, etc.) as a contact card of an employee in the corporate design
- The contact data is collected from the centrally maintained LDAP directory. If this data is not correct, it should be changed via the IdM portal. All set attributes can also be overwritten by the function.
- The function makes contact cards responsive (readable from desktop to smartphone), as well as accessible.
- Possibility to list absent or external employees
Functions
$this->vCard(string $userid [, array $values [, array $style]]);
Prints a contact card for the user of $userid
Parameters
$userid |
Get data for this user from the LDAP directory and display it.
If $userid is empty ('' ) only the data from array $values will be displayed. |
$values |
An array of values that override or supplement the LDAP values.
Should usually be omitted since the current values from the LDAP directory are displayed.
|
$style |
An array of values that affect the style of the contact card.
|
Please note: Employees who are on leave, for example, due to parental leave, do not have employee status for this time. This also applies if a request for continued use has been submitted. These employees will therefore not be listed during the period in question.