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');
Output of the values according to LDAP directory, additionally a description, without gray line below:
$this->vCard('jane', array('description' => 'URZ team'), array('border' => 0));
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
));