Lines Matching refs:child
80 foreach ($children as $k => $child) {
81 if ($child instanceof Node) {
83 $this->add($child);
86 $this->add($k, $child);
154 foreach ($this->select($item) as $child) {
155 $this->remove($child);
158 foreach ($this->select($item->name) as $k => $child) {
159 if ($child === $item) {
197 foreach ($childGroup as $child) {
198 if ($child instanceof self) {
199 $result[] = $child;
242 function ($child) use ($group) {
243 return $child instanceof Property && strtoupper($child->group) === $group;
253 foreach ($childGroup as $child) {
254 if ($child instanceof Property && strtoupper($child->group) === $group) {
255 $result[] = $child;
330 foreach ($children as $child) {
331 $str .= $child->serialize();
350 foreach ($childGroup as $child) {
351 if ($child instanceof self) {
352 $components[] = $child->jsonSerialize();
354 $properties[] = $child->jsonSerialize();
378 foreach ($childGroup as $child) {
379 if ($child instanceof self) {
380 $components[] = $child;
382 $properties[] = $child;
513 foreach ($childGroup as $key => $child) {
514 $clonedChild = clone $child;
581 foreach ($this->children() as $child) {
582 $name = strtoupper($child->name);
588 $messages = array_merge($messages, $child->validate($options));
667 foreach ($childGroup as $child) {
668 $child->destroy();