GenericVCardHandler input, XCard format library.
More...
GenericVCardHandler input, XCard format library.
Plugin / Input Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.0.1
- Date
- Creation: Dec 2014
-
Modification: Jul 2025
- Copyright
- 2014 - 2025 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. GenericVCardHandler_xCard class.
◆ __construct()
| GenericVCardHandler_xCard::__construct |
( |
|
$parent, |
|
|
|
$params |
|
) |
| |
Class constructor.
- Parameters
-
| Object | $parent | |
| array | $params | |
◆ 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: