[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | Copyright (c) 2010-2022 The s9e authors |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
File Size: | 220 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getAttributeValues($xml, $tagName, $attrName) X-Ref |
Return every value used in given attribute from given tag Will include duplicate values param: string $xml Parsed text param: string $tagName Target tag's name param: string $attrName Target attribute's name return: string[] Attribute values |
encodeUnicodeSupplementaryCharacters($str) X-Ref |
Replace Unicode characters outside the BMP with XML entities param: string $str Original string return: string String with SMP characters encoded |
removeFormatting($xml) X-Ref |
Strip the formatting of an intermediate representation and return plain text This will remove start tags and end tags but will keep the text content of everything else param: string $xml Intermediate representation return: string Plain text |
removeTag($xml, $tagName, $nestingLevel = 0) X-Ref |
Remove all tags at given nesting level param: string $xml Intermediate representation param: string $tagName Tag's name (case-sensitive) param: integer $nestingLevel Minimum nesting level return: string Updated intermediate representation |
replaceAttributes($xml, $tagName, callable $callback) X-Ref |
Replace the attributes of all tags of given name in given XML param: string $xml Original XML param: string $tagName Target tag's name param: callable $callback Callback used to process attributes. Receives the old attributes return: string Modified XML |
encodeUnicodeSupplementaryCharactersCallback(array $m) X-Ref |
No description |
loadXML($xml) X-Ref |
Create a return a new DOMDocument loaded with given XML param: string $xml Source XML return: DOMDocument |
parseAttributes($xml) X-Ref |
Parse the attributes contained in given XML param: string $xml XML string, normally a start tag return: array Associative array of attribute values |
saveXML(DOMDocument $dom) X-Ref |
Serialize given DOMDocument param: DOMDocument $dom return: string |
serializeAttributes(array $attributes) X-Ref |
Serialize an array of attribute values param: array $attributes Associative array of attribute values return: string Attributes, sorted by name and serialized to XML |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |