Xataface 2.0
Xataface Application Framework
Public Member Functions
Dataface_ImportFilter_xml Class Reference
Inheritance diagram for Dataface_ImportFilter_xml:
Dataface_ImportFilter

Public Member Functions

 Dataface_ImportFilter_xml ()
 import (&$data)

Detailed Description

File: Dataface/ImportFiter/xml.php Author: Steve Hannah <shannah@sfu.ca> Created: December 3, 2005

Description: ------------- Import filter that converts xml to Record objects. The XML must be of the form:

<dataface> <Profile> <FirstName>John</FirstName> <LastName>Smith</LastName> <Phone>555-555-5555</Phone> </Profile> <Profile> <FirstName>Julia</FirstName> <LastName>Vaughn</LastName> <Phone>444-444-4444</Phone> </Profile> </dataface>

The above example xml would be converted into an array of 2 Dataface_Record objects for the "Profile" table.

Definition at line 52 of file xml.php.


Member Function Documentation

Definition at line 54 of file xml.php.

import ( &$  data)

Definition at line 60 of file xml.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations