Lines Matching refs:child
79 foreach($children as $k=>$child) {
80 if ($child instanceof Node) {
83 $this->add($child);
87 $this->add($k, $child);
152 foreach($children as $k=>$child) {
155 return $child;
157 foreach($this->children as $k => $child) {
158 if ($child===$item) {
160 return $child;
190 foreach($this->children as $child) {
191 if ($child instanceof Component) {
192 $result[] = $child;
225 foreach($this->children as $key=>$child) {
229 strtoupper($child->name) === $name
230 … && (is_null($group) || ( $child instanceof Property && strtoupper($child->group) === $group))
234 … $name === '' && $child instanceof Property && strtoupper($child->group) === $group
238 $result[$key] = $child;
314 foreach($this->children as $child) $str.=$child->serialize();
332 foreach($this->children as $child) {
333 if ($child instanceof Component) {
334 $components[] = $child->jsonSerialize();
336 $properties[] = $child->jsonSerialize();
447 foreach($matches as $k=>$child) {
450 $child->parent = null;
466 foreach($this->children as $key=>$child) {
467 $this->children[$key] = clone $child;
532 foreach($this->children as $child) {
533 $name = strtoupper($child->name);
539 $messages = array_merge($messages, $child->validate($options));