Contact cards of employees
Extension module for displaying contact data
Sandra Kahl
-
Phone:+49 371 531-34089
-
Email:
-
Address:Straße der Nationen 62, 09111 Chemnitz
-
Room:

Antje Schreiber
-
Phone:+49 371 531-37558
-
Email:
-
Address:Straße der Nationen 62, 09111 Chemnitz
-
Room:
Function and features of the module
- Consistent presentation of contact data of employees of the TU Chemnitz in the corporate design (responsive and accessible)
- Contact data are read from centrally maintained LDAP directory, all attributes can also be overwritten
Basic structure
$this->vCard(string $userid [, array $values [, array $style]]);
Possible parameters
$userid
| PHP string- fetch data of the associated persons from LDAP
- can also be empty (
''
), then only the data from$values
will be displayed
$values
| PHP array [optional]$style
| PHP array [optional]- Array of values that affect the style of the contact card
- Possible entries:
'border'
(0 = no line),'id'
(for anchor link e. g.),'titleprefix'
(0 = title after name),
'photoindent'
(0 = no indentation, see example 3)
Documentation: All details about the extension module
Examples
$this->vCard('otto');
Dr. Otto Normalverbraucher
-
Phone:+49 371 531-35555
-
Email:
$this->vCard('otto', array('description' => 'Data specialist in the URZ team'));
Dr. Otto Normalverbraucher
Data specialist in the URZ team
-
Phone:+49 371 531-35555
-
Email:
$this->vCard('otto', array('description' => 'Data specialist in the URZ team'), array('photoindent' => 0));
Dr. Otto Normalverbraucher
Data specialist in the URZ team
-
Phone:+49 371 531-35555
-
Email:
$this->vCard('otto',
array('title' => 'M.Sc.',
'description' => 'Data specialist in the URZ team',
'Verantwortlich für' => '<ul><li>Identification of interesting data</li><li>...</li></ul>',
'photo' => 'otto.jpg'),
array('photoindent' => 0, 'titleprefix' => 0));

Otto Normalverbraucher, M.Sc.
Data specialist in the URZ team
-
Phone:+49 371 531-35555
-
Email:
-
Verantwortlich für:
- Identification of interesting data patterns
- Analysis and statistics