Public Member Functions | |
| GenieGate_XMLImport (&$dbh, &$ua, &$gm, &$pm) | |
| Constructor. | |
| more ($data) | |
| Feed it more XML data. | |
| finish () | |
| Finish parsing. | |
| error ($message=FALSE) | |
| Get the error messages. | |
| logit ($message=FALSE) | |
| Log a status message. | |
| user_count () | |
| Returns the count of User elements that were processed. | |
Public Attributes | |
| $DUMMY_EMAIL = "@example.com" | |
| Email address assigned to users w/out an email address. | |
Properties, Property Sections, Groups, Users can be added or updated using this package and the XML data.
Definition at line 7 of file XMLImport.php.
|
||||||||||||||||||||
|
Constructor.
Definition at line 30 of file XMLImport.php. |
|
|
Get the error messages. With a parameter, adds an error to the queue.
Definition at line 74 of file XMLImport.php. |
|
|
Finish parsing. This gives us a chance to free up the parser and determine if the XML was in fact valid. (did it have closing tags?) Definition at line 60 of file XMLImport.php. |
|
|
Log a status message.
Definition at line 85 of file XMLImport.php. |
|
|
Feed it more XML data. This method is used to actually parse the information, you feed XML into this class by calling more() over and over until all your XML is parsed. At the end, it is important to call finish().
Definition at line 49 of file XMLImport.php. |
Documentation generated by DoxyGen