Contact cards for employees on the website
Examples for the call of the functions and corresponding representation. These examples show the contact details of fictitious persons.
Output of the values according to LDAP directory; the "photo" is a file john.jpg in the same folder:
$this->vCard('john');
-
Phone:+49 371 531-35555
-
Email:
-
Address:Straße der Nationen 62, 09111 Chemnitz
-
Room:1/072 (new: A13.072)
Output of the values according to LDAP directory, additionally a description, photo only internally, without gray line below:
$this->vCard('jane', array('description' => 'URZ team'), array('border' => 0, 'photointernal' => 1));-
Phone:+49 371 531-35555
-
Email:
-
Address:Straße der Nationen 62, 09111 Chemnitz
-
Room:1/072 (new: A13.072)
Custom setting of contact card data (always displayed, because no LDAP reference):
$this->vCard('',
array(
'name' => 'Tux',
'title' => 'M.Sc.',
'mail' => 'info@linux-tage.de',
'address' => 'Straße der Nationen 62, 09111 Chemnitz',
'description' => 'Team of Chemnitzer Linux-Tage',
'www' => '<a class="linkextern" href="https://chemnitzer.linux-tage.de/">chemnitzer.linux-tage.de</a>',
'Office hours' => 'Tuesday 1 pm to 3 pm<br>Wednesday 10 am to 1 pm',
'Responsible for' => '<ul><li>Printing of business cards</li><li>Title assignment</li></ul>'
),
array(
'photoindent' => 0,
'titleprefix' => 0
));-
Email:
-
Address:Straße der Nationen 62, 09111 Chemnitz
-
WWW:
-
Office hours:Tuesday 1 pm to 3 pm
Wednesday 10 am to 1 pm -
Responsible for:
- Printing of business cards
- Title assignment