cvs: pear /Tree/examples Memory_XML.php

From: Date: Mon, 25 Feb 2002 10:51:23 +0000
Subject: cvs: pear /Tree/examples Memory_XML.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2614@lists.php.net to get a copy of this message
cain Mon Feb 25 05:51:23 2002 EDT Modified files: /pear/Tree/examples Memory_XML.php Log: - uncomment examples which work now, since bugfix in Memory.php Index: pear/Tree/examples/Memory_XML.php diff -u pear/Tree/examples/Memory_XML.php:1.1 pear/Tree/examples/Memory_XML.php:1.2 --- pear/Tree/examples/Memory_XML.php:1.1 Mon Feb 4 14:11:50 2002 +++ pear/Tree/examples/Memory_XML.php Mon Feb 25 05:51:23 2002 @@ -80,7 +80,7 @@ // given methods $tree->setup(); - dumpAllNicely( 'dump all after "$tree->setup"' ); + dumpAllNicely( 'dump all after "$tree->setup"' ); // get the path of the last inserted element $id = $tree->getIdByPath('SimpleTemplate/options/delimiter'); @@ -94,8 +94,6 @@ dumpHelper( array($tree->getChild($id)) , 'dump the child of "SimpleTemplate"' ); // you can also use: $tree->data[$id]['child'] -/* -!!!!!!!!!!!!!!!doenst work yet, see Tree_Memmory::_setup for comment $id = $tree->getIdByPath('SimpleTemplate/preFilter'); dumpHelper( $tree->getChildren($id) , 'dump the children of "SimpleTemplate/preFilter"' ); // you can also use: $tree->data[$id]['children'] @@ -107,7 +105,7 @@ $id = $tree->getIdByPath('SimpleTemplate/preFilter'); dumpHelper( array($tree->getPrevious($id)) , 'dump the "previous" of "SimpleTemplate/preFilter"' ); // you can also use: $tree->data[$id]['previous'] -*/ + $id = $tree->getIdByPath('SimpleTemplate/preFilter/register'); $element = $tree->data[$id]['child']['next']['next']; // refer to the third child of 'SimpleTemplate/preFilter/register'

« previous php.pear.cvs (#2614) next »