[ Index ] |
PHP Cross Reference of MyBB 1.8.39 |
[Source view] [Print] [Project Stats]
MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license
File Size: | 182 lines (4 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MyBBXMLParser:: (5 methods):
__construct()
get_tree()
build_tag()
get_children()
kill_tags()
Class: MyBBXMLParser - X-Ref
The following class is based upon code by Eric Pollman__construct($data) X-Ref |
Initialize the parser and store the XML data to be parsed. param: string $data |
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 $thisvals Array of values from the current tag param: array $vals Array of child nodes param: int $i Internal counter param: string $type 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 $vals Array of children param: int $i 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 Array of parsed XML data return: array Cleaned array of XML data |
2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |