| @@ 671-680 (lines=10) @@ | ||
| 668 | break; |
|
| 669 | } |
|
| 670 | if( !$res ) return FALSE; |
|
| 671 | if( isset( $subcfg ) && !empty( $this->components )) { |
|
| 672 | foreach( $subcfg as $cfgkey => $cfgvalue ) { |
|
| 673 | foreach( $this->components as $cix => $component ) { |
|
| 674 | $res = $component->setConfig( $cfgkey, $cfgvalue ); |
|
| 675 | if( !$res ) |
|
| 676 | break 2; |
|
| 677 | $this->components[$cix] = $component->copy(); // PHP4 compliant |
|
| 678 | } |
|
| 679 | } |
|
| 680 | } |
|
| 681 | return $res; |
|
| 682 | } |
|
| 683 | /*********************************************************************************/ |
|
| @@ 5704-5713 (lines=10) @@ | ||
| 5701 | break; |
|
| 5702 | } |
|
| 5703 | if( !$res ) return FALSE; |
|
| 5704 | if( isset( $subcfg ) && !empty( $this->components )) { |
|
| 5705 | foreach( $subcfg as $cfgkey => $cfgvalue ) { |
|
| 5706 | foreach( $this->components as $cix => $component ) { |
|
| 5707 | $res = $component->setConfig( $cfgkey, $cfgvalue ); |
|
| 5708 | if( !$res ) |
|
| 5709 | break 2; |
|
| 5710 | $this->components[$cix] = $component; // PHP4 compliant |
|
| 5711 | } |
|
| 5712 | } |
|
| 5713 | } |
|
| 5714 | return $res; |
|
| 5715 | } |
|
| 5716 | /*********************************************************************************/ |
|