| [ Index ] |
PHP Cross Reference of MyBB 1.6.5 |
[Source view] [Print] [Project Stats]
MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license
| File Size: | 166 lines (3 kb) |
| Included or required: | 8 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
XMLParser:: (5 methods):
__construct()
get_tree()
build_tag()
get_children()
kill_tags()
| __construct($data) X-Ref |
| Initialize the parser and store the XML data to be parsed. |
| get_tree() X-Ref |
| Build a tree based structure based from the parsed data return: array The tree based structure |
| build_tag($thisvals, $vals, &$i, $type) X-Ref |
| Private: Build a completed tag by fetching all child nodes and attributes param: array Array of values from the current tag param: array Array of child nodes param: int Internal counter param: string Type of tag. Complete is a single line tag with attributes return: array Completed tag array |
| get_children($vals, &$i) X-Ref |
| Fetch the children for from a specific node array param: array Array of children param: int Internal counter return: array Array of child nodes |
| kill_tags($array) X-Ref |
| Kill off unnecessary tags and return a clean array of XML data param: array Array of parsed XML data return: array Cleaned array of XML data |
| Generated: Sun Dec 11 14:16:27 2011 | Cross-referenced by PHPXref 0.7.1 |