svn: /phpdoc/es/trunk/reference/tidy/tidynode/ isasp.xml iscomment.xml ishtml.xml isjste.xml isphp.xml istext.xml

From: Date: Sat, 09 Oct 2010 00:22:29 +0000
Subject: svn: /phpdoc/es/trunk/reference/tidy/tidynode/ isasp.xml iscomment.xml ishtml.xml isjste.xml isphp.xml istext.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-3579@lists.php.net to get a copy of this message
agarzon Sat, 09 Oct 2010 00:22:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304214 Log: Updating Changed paths: U phpdoc/es/trunk/reference/tidy/tidynode/isasp.xml U phpdoc/es/trunk/reference/tidy/tidynode/iscomment.xml U phpdoc/es/trunk/reference/tidy/tidynode/ishtml.xml U phpdoc/es/trunk/reference/tidy/tidynode/isjste.xml U phpdoc/es/trunk/reference/tidy/tidynode/isphp.xml U phpdoc/es/trunk/reference/tidy/tidynode/istext.xml Modified: phpdoc/es/trunk/reference/tidy/tidynode/isasp.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/isasp.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/isasp.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,20 +63,20 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'asp'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isAsp()) { + echo "\n\n# asp node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } } Modified: phpdoc/es/trunk/reference/tidy/tidynode/iscomment.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/iscomment.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/iscomment.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,20 +63,20 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'comment'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isComment()) { + echo "\n\n# comment node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } } Modified: phpdoc/es/trunk/reference/tidy/tidynode/ishtml.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/ishtml.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/ishtml.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,19 +63,19 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'text'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isHtml()) { + echo "\n\n# html node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } } Modified: phpdoc/es/trunk/reference/tidy/tidynode/isjste.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/isjste.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/isjste.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,20 +63,20 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'text'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isJste()) { + echo "\n\n# jste node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } } Modified: phpdoc/es/trunk/reference/tidy/tidynode/isphp.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/isphp.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/isphp.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,20 +63,20 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'php'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isPhp()) { + echo "\n\n# php node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } } Modified: phpdoc/es/trunk/reference/tidy/tidynode/istext.xml =================================================================== --- phpdoc/es/trunk/reference/tidy/tidynode/istext.xml 2010-10-08 23:35:21 UTC (rev 304213) +++ phpdoc/es/trunk/reference/tidy/tidynode/istext.xml 2010-10-09 00:22:29 UTC (rev 304214) @@ -63,20 +63,20 @@ $tidy = tidy_parse_string($html); $num = 0; -get_nodes($tidy->html(), 'text'); +get_nodes($tidy->html()); -function get_nodes($node, $node_type) { +function get_nodes($node) { // Verifica si el nodo actual es del tipo requerido - if($node->{"is$node_type"}()) { - echo "\n\n# $node_type node #" . ++$GLOBALS['num'] . "\n"; + if($node->isText()) { + echo "\n\n# text node #" . ++$GLOBALS['num'] . "\n"; echo $node->value; } // Verifica si el nodo actual tiene hijos if($node->hasChildren()) { foreach($node->child as $child) { - get_nodes($child, $node_type); + get_nodes($child); } } }

« previous php.doc.es (#3579) next »