◆ __construct()
GenericVCardHandler_xCard::__construct |
( |
|
$parent, |
|
|
|
$params |
|
) |
| |
Class constructor.
- Parameters
-
Object | $parent | |
array | $params | |
- Returns
- void
◆ export_vCard()
GenericVCardHandler_xCard::export_vCard |
( |
| ) |
|
Export vCard
- Returns
- mixed
◆ toXml()
GenericVCardHandler_xCard::toXml |
( |
|
$data, |
|
|
|
$rootNodeName = 'data' , |
|
|
|
$xml = null |
|
) |
| |
The main function for converting to an XML document. Pass in a multi dimensional array and this recrusively loops through and builds up an XML document.
- Parameters
-
array | $data | |
string | $rootNodeName | - what you want the root node to be - defaultsto data. |
SimpleXMLElement | $xml | - should only be used recursively |
- Returns
- string XML
◆ import_vCard()
GenericVCardHandler_xCard::import_vCard |
( |
| ) |
|
Import vCard.
- Returns
- mixed
◆ extract_data()
GenericVCardHandler_xCard::extract_data |
( |
|
$reader, |
|
|
|
$result |
|
) |
| |
The documentation for this class was generated from the following file: