UNB Components Code Reference

UnbUser::GetVcardEntries method

Gets all or the selected vcard entries for this user.

public function UnbUser::GetVcardEntries ($types = null);

Parameters

types  –  optional, default: null

(array) Vcard types to retrieve from the database, null to retrieve all types.
(string) A single type name can be passed as string (max. 255 characters)

Return value

An array(Type => array('Data' => ..., 'Visibility' => ...) of the requested entries. Example: To get the e-mail value, use $entries['EMail']['Data']. For the meaning of the 'Visibility' item, see the UnbUserVcardVisibility constants.

Exceptions thrown

InvalidArgumentException No description available.
LengthException No description available.
UnbDatabaseException No description available.

Member of class: UnbUser

Implementation file: user.class.php, line 1003

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.