Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 85) sorted by relevance

1234

/PHP-5.5/ext/dom/examples/
H A Ddom1.php21 $children = $rootnode->childNodes; variable
22 print_node_list($children);
36 $children = $parent->childNodes; variable
37 print_node_list($children);
63 $children = $attrs->item(0)->childNodes; variable
64 print_node_list($children);
75 $children = $dom->getElementsByTagname("Silly"); variable
76 print_node_list($children);
80 print_node_list($children);
83 print_node($children->item(0));
[all …]
/PHP-5.5/ext/soap/
H A Dphp_packet_soap.c57 trav = response->children; in parse_packet_soap()
104 trav = env->children; in parse_packet_soap()
211 tmp = get_node(fault->children, "Code"); in parse_packet_soap()
213 tmp = get_node(tmp->children, "Value"); in parse_packet_soap()
219 tmp = get_node(fault->children,"Reason"); in parse_packet_soap()
222 tmp = get_node(tmp->children,"Text"); in parse_packet_soap()
251 resp = body->children; in parse_packet_soap()
309 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
310 val = cur->children; in parse_packet_soap()
343 val = resp->children; in parse_packet_soap()
[all …]
H A Dphp_encoding.c1414 if (node && node->children && node->children->content) { in model_to_zval_object()
1614 if (val && val->children && val->children->content) { in to_zval_object_ex()
1730 if (property->children && property->children->content && in model_to_xml_object()
1753 if (property->children && property->children->content && in model_to_xml_object()
2020 if (dummy->children && dummy->children->content) { in to_xml_object()
2584 attr->children && attr->children->content) { in to_zval_array()
2618 attr->children && attr->children->content) { in to_zval_array()
2627 attr->children && attr->children->content) { in to_zval_array()
2712 attr->children && attr->children->content) { in to_zval_array()
3121 if (dummy && dummy->children && dummy->children->content) { in to_xml_list()
[all …]
H A Dphp_schema.c187 trav = schema->children; in load_schema()
368 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_simpleType()
444 trav = listType->children; in schema_list()
662 trav = restType->children; in schema_restriction_simpleContent()
762 trav = restType->children; in schema_restriction_complexContent()
887 trav = extType->children; in schema_extension_simpleContent()
942 trav = extType->children; in schema_extension_complexContent()
1030 trav = all->children; in schema_all()
1256 trav = seqType->children; in schema_sequence()
1413 create_encoder(sdl, cur_type, ns->children->content, name->children->content); in schema_complexType()
[all …]
H A Dphp_xml.c47 trav = node->children; in cleanup_xml_node()
61 } else if (trav->children != NULL) { in cleanup_xml_node()
266 } else if (node->children != NULL) { in get_node_recurisve_ex()
267 xmlNodePtr tmp = get_node_recurisve_ex(node->children, name, ns); in get_node_recurisve_ex()
290 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_ex()
303 if (attr != NULL && strcmp((char*)attr->children->content, value) == 0) { in get_node_with_attribute_recursive_ex()
307 if (node->children != NULL) { in get_node_with_attribute_recursive_ex()
308 …xmlNodePtr tmp = get_node_with_attribute_recursive_ex(node->children, name, name_ns, attribute, va… in get_node_with_attribute_recursive_ex()
/PHP-5.5/ext/dom/tests/
H A Ddom001.phpt18 //$children = $dom->children();
19 //print_node_list($children);
27 print_node_list($children);
39 // The children of this parent are the same children as one above
41 $children = $parent->childNodes;
42 print_node_list($children);
69 print_node_list($children);
81 print_node_list($children);
85 print_node_list($children);
107 --------- children of root
[all …]
H A DDOMNode_removeChild_basic.phpt40 $children = $root->childNodes;
41 $len = $children->length;
43 for ($index = $children->length - 1; $index >=0; $index--) {
45 $current = $children->item($index);
51 $children = $root->childNodes;
52 $len = $children->length;
54 for ($index = 0; $index < $children->length; $index++) {
56 $current = $children->item($index);
H A DDOMNode_cloneNode_basic.phpt41 $children = $root->childNodes;
42 $len = $children->length;
43 for ($index = $children->length - 1; $index >=0; $index--) {
44 $current = $children->item($index);
51 $first_course = $children->item(0);
69 $children = $root->childNodes;
70 for ($index = 0; $index < $children->length; $index++) {
72 dumpcourse($children->item($index));
H A Ddom_comment_variation.phpt18 $children = $root->childNodes;
20 for ($index = 0; $index < $children->length; $index++) {
22 $current = $children->item($index);
H A Ddom_comment_basic.phpt21 $children = $root->childNodes;
23 for ($index = 0; $index < $children->length; $index++) {
25 $current = $children->item($index);
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxml_to_xmlrpc.c165 iter = (xml_element*)Q_Head(&el->children); in xml_element_to_XMLRPC_REQUEST_worker()
318 Q_PushTail(&param->children, value); in XMLRPC_to_xml_element_worker()
322 Q_PushTail(&value->children, elem_val); in XMLRPC_to_xml_element_worker()
335 Q_PushTail(&member->children, name); in XMLRPC_to_xml_element_worker()
336 Q_PushTail(&member->children, value); in XMLRPC_to_xml_element_worker()
337 Q_PushTail(&value->children, elem_val); in XMLRPC_to_xml_element_worker()
346 Q_PushTail(&value->children, elem_val); in XMLRPC_to_xml_element_worker()
359 Q_PushTail(&value->children, elem_val); in XMLRPC_to_xml_element_worker()
398 Q_PushTail(&wrapper->children, method); in XMLRPC_REQUEST_to_xml_element()
402 Q_PushTail(&wrapper->children, in XMLRPC_REQUEST_to_xml_element()
[all …]
/PHP-5.5/ext/simplexml/tests/
H A Dbug41861.phpt24 foreach ($xml->children($ns) as $child)
29 echo "children($ns): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
37 children(): 'first_node_no_ns' -- namespaces:
38 children(): 'last_node_no_ns' -- namespaces:
39 children(#ns1): 'node1' -- namespaces: #ns1
40 children(#ns2): 'node2' -- namespaces: #ns2
41 children(#ns3): 'node3' -- namespaces: #ns3
H A D032.phpt11 <children>
13 </children>
22 <children>
24 </children>
H A Dprofile11.phpt15 var_dump($root->children('reserved-ns')->child);
16 var_dump($root->children('special-ns')->child);
17 var_dump((string)$root->children('reserved-ns')->child);
18 var_dump((string)$root->children('special-ns')->child);
H A D019.phpt2 SimpleXML: foreach with children()
36 foreach($sxe->children() as $name => $data) {
43 foreach(clone $sxe->children() as $name => $data) {
50 foreach($sxe->elem11->children() as $name => $data) {
57 foreach($sxe->elem1->children() as $name => $data) {
H A D033.phpt13 <children>
15 </children>
73 ["children"]=>
115 ["children"]=>
H A D017.phpt28 foreach($xml->children() as $person) {
30 foreach($person->children() as $child) {
40 $children = 2;
41 for ($j=0;$j<$children;$j++) {
/PHP-5.5/ext/spl/tests/
H A Dbug66405.phpt25 $children = parent::getChildren();
26 if (is_object($children)) {
27 echo get_class($children) . " $children\n";
29 echo gettype($children) . " $children\n";
31 return $children;
H A Dbug65328.phpt85 protected $children = [];
151 $this->children[] = $child;
155 * @param array $children
157 public function setChildren(array $children)
159 $this->children = $children;
167 return $this->children;
229 return $this->children[$this->index];
269 return count($this->children);
277 return !empty($this->children);
299 [children:protected] => Array
[all …]
H A Dbug68128.phpt21 // print all children
28 echo "No children ";
36 No children Array
/PHP-5.5/ext/standard/tests/array/
H A Dbug48854.phpt8 'children' => array(
15 'children' => array(
29 [%u|b%"children"]=>
38 [%u|b%"children"]=>
/PHP-5.5/Zend/tests/
H A Dgc_017.phpt9 public $children;
13 $this->children = array();
18 $this->children[] = $node;
23 unset($this->children);
H A Dbug39297.phpt11 public $children = array();
22 $this->children[$cannonicalName] = $value;
29 return $this->children[$cannonicalName];
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug37013.phpt31 var $children;
45 $p->children = array( $p2, $p3 );
58children SOAP-ENC:arrayType="SOAP-ENC:Struct[2]" xsi:type="SOAP-ENC:Array"><item href="#ref1"/><it…
/PHP-5.5/ext/dom/
H A Ddocumentfragment.c99 if (prop->children) { in php_dom_xmlSetTreeDoc()
100 cur = prop->children; in php_dom_xmlSetTreeDoc()
109 if (tree->children != NULL) { in php_dom_xmlSetTreeDoc()
110 cur = tree->children; in php_dom_xmlSetTreeDoc()

Completed in 41 milliseconds

1234