[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
nodetools is a class of miscellaneous XML helper methods
Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
Copyright: | (C) 2004 John Heinstein. All rights reserved |
License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
Poids: | 234 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
nodetools:: (5 méthodes):
parseAttributes()
moveUp()
moveDown()
nodeExists()
fromPath()
parseAttributes($attrText, $convertEntities = true, $definedEntities = null) X-Ref |
Parses the attributes string into an array of key / value pairs param: string The attribute text return: Array An array of key / value pairs |
moveUp(&$node) X-Ref |
Move a node to the previous index in the childNodes array param: Object The node to be moved |
moveDown(&$node) X-Ref |
Move a node to the next index in the childNodes array param: Object The node to be moved |
nodeExists(&$callingNode, $path) X-Ref |
Checks if a node exists on the given path; if so, returns the node, otherwise false param: Object The calling node param: string The path return: mixed The found node, or false |
fromPath(&$xmldoc, $path, $text = null) X-Ref |
Generates a heirarchy of nodes based on a path expression param: string The path expression param: string The value of a text node to be appended to the last element return: object The generated nodes |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |