CaMykS  1.0-20231201
Public Member Functions | List of all members
GenericVCardHandler_xCard Class Reference

Public Member Functions

 __construct ($parent, $params)
 
 export_vCard ()
 
 toXml ($data, $rootNodeName='data', $xml=null)
 
 import_vCard ()
 
 extract_data ($reader, $result)
 

Detailed Description

GenericVCardHandler_xCard class.

Constructor & Destructor Documentation

◆ __construct()

GenericVCardHandler_xCard::__construct (   $parent,
  $params 
)

Class constructor.

Parameters
Object$parent
array$params
Returns
void

Member Function Documentation

◆ 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: