@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param array $aAttributes Associative array of attributes that will describe the command |
| 160 | 160 | * @param mixed $mData The data to be associated with this command |
| 161 | 161 | * |
| 162 | - * @return \Jaxon\Plugin\Response |
|
| 162 | + * @return Response |
|
| 163 | 163 | */ |
| 164 | 164 | public function addCommand($aAttributes, $mData) |
| 165 | 165 | { |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | /** |
| 201 | 201 | * Clear all the commands already added to the response |
| 202 | 202 | * |
| 203 | - * @return \Jaxon\Plugin\Response |
|
| 203 | + * @return Response |
|
| 204 | 204 | */ |
| 205 | 205 | public function clearCommands() |
| 206 | 206 | { |
@@ -214,9 +214,9 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param \Jaxon\Plugin\Plugin $xPlugin The plugin object |
| 216 | 216 | * @param array $aAttributes The attributes for this response command |
| 217 | - * @param mixed $mData The data to be sent with this command |
|
| 217 | + * @param string $mData The data to be sent with this command |
|
| 218 | 218 | * |
| 219 | - * @return \Jaxon\Plugin\Response |
|
| 219 | + * @return Response |
|
| 220 | 220 | */ |
| 221 | 221 | public function addPluginCommand($xPlugin, $aAttributes, $mData) |
| 222 | 222 | { |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | * @param integer $iCmdNumber The number of commands to skip upon cancel |
| 278 | 278 | * @param string $sMessage The message to display to the user |
| 279 | 279 | * |
| 280 | - * @return \Jaxon\Plugin\Response |
|
| 280 | + * @return Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function confirmCommands($iCmdNumber, $sMessage) |
| 283 | 283 | { |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | * @param string $sAttribute The attribute to be assigned |
| 298 | 298 | * @param string $sData The value to be assigned to the attribute |
| 299 | 299 | * |
| 300 | - * @return \Jaxon\Plugin\Response |
|
| 300 | + * @return Response |
|
| 301 | 301 | */ |
| 302 | 302 | public function assign($sTarget, $sAttribute, $sData) |
| 303 | 303 | { |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | * @param string $sTarget The id of the html element on the browser |
| 320 | 320 | * @param string $sData The value to be assigned to the attribute |
| 321 | 321 | * |
| 322 | - * @return \Jaxon\Plugin\Response |
|
| 322 | + * @return Response |
|
| 323 | 323 | */ |
| 324 | 324 | public function html($sTarget, $sData) |
| 325 | 325 | { |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | * @param string $sAttribute The name of the attribute to be appended to |
| 334 | 334 | * @param string $sData The data to be appended to the attribute |
| 335 | 335 | * |
| 336 | - * @return \Jaxon\Plugin\Response |
|
| 336 | + * @return Response |
|
| 337 | 337 | */ |
| 338 | 338 | public function append($sTarget, $sAttribute, $sData) |
| 339 | 339 | { |
@@ -354,7 +354,7 @@ discard block |
||
| 354 | 354 | * @param string $sAttribute The name of the attribute to be prepended to |
| 355 | 355 | * @param string $sData The value to be prepended to the attribute |
| 356 | 356 | * |
| 357 | - * @return \Jaxon\Plugin\Response |
|
| 357 | + * @return Response |
|
| 358 | 358 | */ |
| 359 | 359 | public function prepend($sTarget, $sAttribute, $sData) |
| 360 | 360 | { |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * @param string $sSearch The needle to search for |
| 377 | 377 | * @param string $sData The data to use in place of the needle |
| 378 | 378 | * |
| 379 | - * @return \Jaxon\Plugin\Response |
|
| 379 | + * @return Response |
|
| 380 | 380 | */ |
| 381 | 381 | public function replace($sTarget, $sAttribute, $sSearch, $sData) |
| 382 | 382 | { |
@@ -399,7 +399,7 @@ discard block |
||
| 399 | 399 | * @param string $sTarget The id of the element to be updated. |
| 400 | 400 | * @param string $sAttribute The attribute to be cleared |
| 401 | 401 | * |
| 402 | - * @return \Jaxon\Plugin\Response |
|
| 402 | + * @return Response |
|
| 403 | 403 | */ |
| 404 | 404 | public function clear($sTarget, $sAttribute) |
| 405 | 405 | { |
@@ -415,7 +415,7 @@ discard block |
||
| 415 | 415 | * @param string $sAttribute The attribute to be updated |
| 416 | 416 | * @param string $sData The value to assign |
| 417 | 417 | * |
| 418 | - * @return \Jaxon\Plugin\Response |
|
| 418 | + * @return Response |
|
| 419 | 419 | */ |
| 420 | 420 | public function contextAssign($sAttribute, $sData) |
| 421 | 421 | { |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | * @param string $sAttribute The attribute to be appended to |
| 438 | 438 | * @param string $sData The value to append |
| 439 | 439 | * |
| 440 | - * @return \Jaxon\Plugin\Response |
|
| 440 | + * @return Response |
|
| 441 | 441 | */ |
| 442 | 442 | public function contextAppend($sAttribute, $sData) |
| 443 | 443 | { |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | * @param string $sAttribute The attribute to be updated |
| 460 | 460 | * @param string $sData The value to be prepended |
| 461 | 461 | * |
| 462 | - * @return \Jaxon\Plugin\Response |
|
| 462 | + * @return Response |
|
| 463 | 463 | */ |
| 464 | 464 | public function contextPrepend($sAttribute, $sData) |
| 465 | 465 | { |
@@ -480,7 +480,7 @@ discard block |
||
| 480 | 480 | * |
| 481 | 481 | * @param string $sAttribute The attribute to be cleared |
| 482 | 482 | * |
| 483 | - * @return \Jaxon\Plugin\Response |
|
| 483 | + * @return Response |
|
| 484 | 484 | */ |
| 485 | 485 | public function contextClear($sAttribute) |
| 486 | 486 | { |
@@ -492,7 +492,7 @@ discard block |
||
| 492 | 492 | * |
| 493 | 493 | * @param string $sMessage The message to be displayed |
| 494 | 494 | * |
| 495 | - * @return \Jaxon\Plugin\Response |
|
| 495 | + * @return Response |
|
| 496 | 496 | */ |
| 497 | 497 | public function alert($sMessage) |
| 498 | 498 | { |
@@ -509,7 +509,7 @@ discard block |
||
| 509 | 509 | * |
| 510 | 510 | * @param string $sMessage The message to be displayed |
| 511 | 511 | * |
| 512 | - * @return \Jaxon\Plugin\Response |
|
| 512 | + * @return Response |
|
| 513 | 513 | */ |
| 514 | 514 | public function debug($sMessage) |
| 515 | 515 | { |
@@ -527,7 +527,7 @@ discard block |
||
| 527 | 527 | * @param string $sURL The relative or fully qualified URL |
| 528 | 528 | * @param integer $iDelay Number of seconds to delay before the redirect occurs |
| 529 | 529 | * |
| 530 | - * @return \Jaxon\Plugin\Response |
|
| 530 | + * @return Response |
|
| 531 | 531 | */ |
| 532 | 532 | public function redirect($sURL, $iDelay=0) |
| 533 | 533 | { |
@@ -580,7 +580,7 @@ discard block |
||
| 580 | 580 | * |
| 581 | 581 | * @param string $sJS The script to execute |
| 582 | 582 | * |
| 583 | - * @return \Jaxon\Plugin\Response |
|
| 583 | + * @return Response |
|
| 584 | 584 | */ |
| 585 | 585 | public function script($sJS) |
| 586 | 586 | { |
@@ -597,7 +597,7 @@ discard block |
||
| 597 | 597 | * |
| 598 | 598 | * @param string $sFunc The name of the function to call |
| 599 | 599 | * |
| 600 | - * @return \Jaxon\Plugin\Response |
|
| 600 | + * @return Response |
|
| 601 | 601 | */ |
| 602 | 602 | public function call($sFunc) |
| 603 | 603 | { |
@@ -617,7 +617,7 @@ discard block |
||
| 617 | 617 | * |
| 618 | 618 | * @param string $sTarget The id of the element to be removed |
| 619 | 619 | * |
| 620 | - * @return \Jaxon\Plugin\Response |
|
| 620 | + * @return Response |
|
| 621 | 621 | */ |
| 622 | 622 | public function remove($sTarget) |
| 623 | 623 | { |
@@ -637,7 +637,7 @@ discard block |
||
| 637 | 637 | * @param string $sTag The tag name to be used for the new element |
| 638 | 638 | * @param string $sId The id to assign to the new element |
| 639 | 639 | * |
| 640 | - * @return \Jaxon\Plugin\Response |
|
| 640 | + * @return Response |
|
| 641 | 641 | */ |
| 642 | 642 | public function create($sParent, $sTag, $sId) |
| 643 | 643 | { |
@@ -658,7 +658,7 @@ discard block |
||
| 658 | 658 | * @param string $sTag The tag name to be used for the new element |
| 659 | 659 | * @param string $sId The id to assign to the new element |
| 660 | 660 | * |
| 661 | - * @return \Jaxon\Plugin\Response |
|
| 661 | + * @return Response |
|
| 662 | 662 | */ |
| 663 | 663 | public function insert($sBefore, $sTag, $sId) |
| 664 | 664 | { |
@@ -679,7 +679,7 @@ discard block |
||
| 679 | 679 | * @param string $sTag The tag name to be used for the new element |
| 680 | 680 | * @param string $sId The id to assign to the new element |
| 681 | 681 | * |
| 682 | - * @return \Jaxon\Plugin\Response |
|
| 682 | + * @return Response |
|
| 683 | 683 | */ |
| 684 | 684 | public function insertAfter($sAfter, $sTag, $sId) |
| 685 | 685 | { |
@@ -701,7 +701,7 @@ discard block |
||
| 701 | 701 | * @param string $sName The name of the new input element |
| 702 | 702 | * @param string $sId The id of the new element |
| 703 | 703 | * |
| 704 | - * @return \Jaxon\Plugin\Response |
|
| 704 | + * @return Response |
|
| 705 | 705 | */ |
| 706 | 706 | public function createInput($sParent, $sType, $sName, $sId) |
| 707 | 707 | { |
@@ -724,7 +724,7 @@ discard block |
||
| 724 | 724 | * @param string $sName The name of the new input element |
| 725 | 725 | * @param string $sId The id of the new element |
| 726 | 726 | * |
| 727 | - * @return \Jaxon\Plugin\Response |
|
| 727 | + * @return Response |
|
| 728 | 728 | */ |
| 729 | 729 | public function insertInput($sBefore, $sType, $sName, $sId) |
| 730 | 730 | { |
@@ -747,7 +747,7 @@ discard block |
||
| 747 | 747 | * @param string $sName The name of the new input element |
| 748 | 748 | * @param string $sId The id of the new element |
| 749 | 749 | * |
| 750 | - * @return \Jaxon\Plugin\Response |
|
| 750 | + * @return Response |
|
| 751 | 751 | */ |
| 752 | 752 | public function insertInputAfter($sAfter, $sType, $sName, $sId) |
| 753 | 753 | { |
@@ -769,7 +769,7 @@ discard block |
||
| 769 | 769 | * @param string $sEvent The name of the event |
| 770 | 770 | * @param string $sScript The javascript to execute when the event is fired |
| 771 | 771 | * |
| 772 | - * @return \Jaxon\Plugin\Response |
|
| 772 | + * @return Response |
|
| 773 | 773 | */ |
| 774 | 774 | public function setEvent($sTarget, $sEvent, $sScript) |
| 775 | 775 | { |
@@ -789,7 +789,7 @@ discard block |
||
| 789 | 789 | * @param string $sTarget The id of the element that contains the event |
| 790 | 790 | * @param string $sScript The javascript to execute when the event is fired |
| 791 | 791 | * |
| 792 | - * @return \Jaxon\Plugin\Response |
|
| 792 | + * @return Response |
|
| 793 | 793 | */ |
| 794 | 794 | public function onClick($sTarget, $sScript) |
| 795 | 795 | { |
@@ -805,7 +805,7 @@ discard block |
||
| 805 | 805 | * @param string $sEvent The name of the event |
| 806 | 806 | * @param string $sHandler The name of the javascript function to call when the event is fired |
| 807 | 807 | * |
| 808 | - * @return \Jaxon\Plugin\Response |
|
| 808 | + * @return Response |
|
| 809 | 809 | */ |
| 810 | 810 | public function addHandler($sTarget, $sEvent, $sHandler) |
| 811 | 811 | { |
@@ -826,7 +826,7 @@ discard block |
||
| 826 | 826 | * @param string $sEvent The name of the event |
| 827 | 827 | * @param string $sHandler The name of the javascript function called when the event is fired |
| 828 | 828 | * |
| 829 | - * @return \Jaxon\Plugin\Response |
|
| 829 | + * @return Response |
|
| 830 | 830 | */ |
| 831 | 831 | public function removeHandler($sTarget, $sEvent, $sHandler) |
| 832 | 832 | { |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | * @param string $sArgs Comma separated list of parameter names |
| 848 | 848 | * @param string $sScript The javascript code that will become the body of the function |
| 849 | 849 | * |
| 850 | - * @return \Jaxon\Plugin\Response |
|
| 850 | + * @return Response |
|
| 851 | 851 | */ |
| 852 | 852 | public function setFunction($sFunction, $sArgs, $sScript) |
| 853 | 853 | { |
@@ -874,7 +874,7 @@ discard block |
||
| 874 | 874 | * @param string $sReturnValueVar The name of the variable that will retain the return value |
| 875 | 875 | * from the call to the original function |
| 876 | 876 | * |
| 877 | - * @return \Jaxon\Plugin\Response |
|
| 877 | + * @return Response |
|
| 878 | 878 | */ |
| 879 | 879 | public function wrapFunction($sFunction, $sArgs, $aScripts, $sReturnValueVar) |
| 880 | 880 | { |
@@ -895,7 +895,7 @@ discard block |
||
| 895 | 895 | * @param string $sFileName The relative or fully qualified URI of the javascript file |
| 896 | 896 | * @param string $sType Determines the script type. Defaults to 'text/javascript' |
| 897 | 897 | * |
| 898 | - * @return \Jaxon\Plugin\Response |
|
| 898 | + * @return Response |
|
| 899 | 899 | */ |
| 900 | 900 | public function includeScript($sFileName, $sType = null, $sId = null) |
| 901 | 901 | { |
@@ -916,7 +916,7 @@ discard block |
||
| 916 | 916 | * @param string $sFileName The relative or fully qualified URI of the javascript file |
| 917 | 917 | * @param string $sType Determines the script type. Defaults to 'text/javascript' |
| 918 | 918 | * |
| 919 | - * @return \Jaxon\Plugin\Response |
|
| 919 | + * @return Response |
|
| 920 | 920 | */ |
| 921 | 921 | public function includeScriptOnce($sFileName, $sType = null, $sId = null) |
| 922 | 922 | { |
@@ -939,7 +939,7 @@ discard block |
||
| 939 | 939 | * @param string $sFileName The relative or fully qualified URI of the javascript file |
| 940 | 940 | * @param string $sUnload Name of a javascript function to call prior to unlaoding the file |
| 941 | 941 | * |
| 942 | - * @return \Jaxon\Plugin\Response |
|
| 942 | + * @return Response |
|
| 943 | 943 | */ |
| 944 | 944 | public function removeScript($sFileName, $sUnload = '') |
| 945 | 945 | { |
@@ -960,7 +960,7 @@ discard block |
||
| 960 | 960 | * @param string $sFileName The relative or fully qualified URI of the css file |
| 961 | 961 | * @param string $sMedia The media type of the CSS file. Defaults to 'screen' |
| 962 | 962 | * |
| 963 | - * @return \Jaxon\Plugin\Response |
|
| 963 | + * @return Response |
|
| 964 | 964 | */ |
| 965 | 965 | public function includeCSS($sFileName, $sMedia = null) |
| 966 | 966 | { |
@@ -979,7 +979,7 @@ discard block |
||
| 979 | 979 | * |
| 980 | 980 | * @param string $sFileName The relative or fully qualified URI of the css file |
| 981 | 981 | * |
| 982 | - * @return \Jaxon\Plugin\Response |
|
| 982 | + * @return Response |
|
| 983 | 983 | */ |
| 984 | 984 | public function removeCSS($sFileName, $sMedia = null) |
| 985 | 985 | { |
@@ -1004,7 +1004,7 @@ discard block |
||
| 1004 | 1004 | * @param integer $iTimeout The number of 1/10ths of a second to pause before timing out |
| 1005 | 1005 | * and continuing with the execution of the response commands |
| 1006 | 1006 | * |
| 1007 | - * @return \Jaxon\Plugin\Response |
|
| 1007 | + * @return Response |
|
| 1008 | 1008 | */ |
| 1009 | 1009 | public function waitForCSS($iTimeout = 600) |
| 1010 | 1010 | { |
@@ -1029,7 +1029,7 @@ discard block |
||
| 1029 | 1029 | * @param integer $tenths The number of 1/10ths of a second to wait before timing out |
| 1030 | 1030 | * and continuing with the execution of the response commands. |
| 1031 | 1031 | * |
| 1032 | - * @return \Jaxon\Plugin\Response |
|
| 1032 | + * @return Response |
|
| 1033 | 1033 | */ |
| 1034 | 1034 | public function waitFor($script, $tenths) |
| 1035 | 1035 | { |
@@ -1050,7 +1050,7 @@ discard block |
||
| 1050 | 1050 | * |
| 1051 | 1051 | * @param integer $tenths The number of 1/10ths of a second to sleep |
| 1052 | 1052 | * |
| 1053 | - * @return \Jaxon\Plugin\Response |
|
| 1053 | + * @return Response |
|
| 1054 | 1054 | */ |
| 1055 | 1055 | public function sleep($tenths) |
| 1056 | 1056 | { |
@@ -1079,7 +1079,7 @@ discard block |
||
| 1079 | 1079 | * @param string $variable The DOM element name (id or class) |
| 1080 | 1080 | * @param string $tag The HTML tag of the new DOM element |
| 1081 | 1081 | * |
| 1082 | - * @return \Jaxon\Plugin\Response |
|
| 1082 | + * @return Response |
|
| 1083 | 1083 | */ |
| 1084 | 1084 | public function domCreateElement($variable, $tag) |
| 1085 | 1085 | { |
@@ -1099,7 +1099,7 @@ discard block |
||
| 1099 | 1099 | * @param string $key The name of the attribute |
| 1100 | 1100 | * @param string $value The value of the attribute |
| 1101 | 1101 | * |
| 1102 | - * @return \Jaxon\Plugin\Response |
|
| 1102 | + * @return Response |
|
| 1103 | 1103 | */ |
| 1104 | 1104 | public function domSetAttribute($variable, $key, $value) |
| 1105 | 1105 | { |
@@ -1120,7 +1120,7 @@ discard block |
||
| 1120 | 1120 | * @param string $skip The ?? |
| 1121 | 1121 | * @param string $remove The ?? |
| 1122 | 1122 | * |
| 1123 | - * @return \Jaxon\Plugin\Response |
|
| 1123 | + * @return Response |
|
| 1124 | 1124 | */ |
| 1125 | 1125 | public function domRemoveChildren($parent, $skip = null, $remove = null) |
| 1126 | 1126 | { |
@@ -1141,7 +1141,7 @@ discard block |
||
| 1141 | 1141 | * @param string $parent The DOM parent element |
| 1142 | 1142 | * @param string $variable The DOM element name (id or class) |
| 1143 | 1143 | * |
| 1144 | - * @return \Jaxon\Plugin\Response |
|
| 1144 | + * @return Response |
|
| 1145 | 1145 | */ |
| 1146 | 1146 | public function domAppendChild($parent, $variable) |
| 1147 | 1147 | { |
@@ -1160,7 +1160,7 @@ discard block |
||
| 1160 | 1160 | * @param string $target The DOM target element |
| 1161 | 1161 | * @param string $variable The DOM element name (id or class) |
| 1162 | 1162 | * |
| 1163 | - * @return \Jaxon\Plugin\Response |
|
| 1163 | + * @return Response |
|
| 1164 | 1164 | */ |
| 1165 | 1165 | public function domInsertBefore($target, $variable) |
| 1166 | 1166 | { |
@@ -1179,7 +1179,7 @@ discard block |
||
| 1179 | 1179 | * @param string $target The DOM target element |
| 1180 | 1180 | * @param string $variable The DOM element name (id or class) |
| 1181 | 1181 | * |
| 1182 | - * @return \Jaxon\Plugin\Response |
|
| 1182 | + * @return Response |
|
| 1183 | 1183 | */ |
| 1184 | 1184 | public function domInsertAfter($target, $variable) |
| 1185 | 1185 | { |
@@ -1198,7 +1198,7 @@ discard block |
||
| 1198 | 1198 | * @param string $parent The DOM parent element |
| 1199 | 1199 | * @param string $text The HTML text to append |
| 1200 | 1200 | * |
| 1201 | - * @return \Jaxon\Plugin\Response |
|
| 1201 | + * @return Response |
|
| 1202 | 1202 | */ |
| 1203 | 1203 | public function domAppendText($parent, $text) |
| 1204 | 1204 | { |
@@ -1239,7 +1239,7 @@ discard block |
||
| 1239 | 1239 | * |
| 1240 | 1240 | * @param mixed $value Any value |
| 1241 | 1241 | * |
| 1242 | - * @return \Jaxon\Plugin\Response |
|
| 1242 | + * @return Response |
|
| 1243 | 1243 | */ |
| 1244 | 1244 | public function setReturnValue($value) |
| 1245 | 1245 | { |
@@ -50,14 +50,14 @@ discard block |
||
| 50 | 50 | $sPrefix = trim((string)$sPrefix); |
| 51 | 51 | $nDepth = intval($nDepth); |
| 52 | 52 | // Check the max depth |
| 53 | - if($nDepth < 0 || $nDepth > 9) |
|
| 53 | + if ($nDepth < 0 || $nDepth > 9) |
|
| 54 | 54 | { |
| 55 | 55 | throw new \Jaxon\Exception\Config\Data(jaxon_trans('config.errors.data.depth', |
| 56 | 56 | array('key' => $sPrefix, 'depth' => $nDepth))); |
| 57 | 57 | } |
| 58 | - foreach($aOptions as $sName => $xOption) |
|
| 58 | + foreach ($aOptions as $sName => $xOption) |
|
| 59 | 59 | { |
| 60 | - if(is_int($sName)) |
|
| 60 | + if (is_int($sName)) |
|
| 61 | 61 | { |
| 62 | 62 | continue; |
| 63 | 63 | } |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | // Save the value of this option |
| 68 | 68 | $this->aOptions[$sFullName] = $xOption; |
| 69 | 69 | // Save the values of its sub-options |
| 70 | - if(is_array($xOption)) |
|
| 70 | + if (is_array($xOption)) |
|
| 71 | 71 | { |
| 72 | 72 | // Recursively read the options in the array |
| 73 | 73 | $this->_setOptions($xOption, $sFullName, $nDepth + 1); |
@@ -89,9 +89,9 @@ discard block |
||
| 89 | 89 | $aKeys = explode('.', (string)$sKeys); |
| 90 | 90 | foreach ($aKeys as $sKey) |
| 91 | 91 | { |
| 92 | - if(($sKey)) |
|
| 92 | + if (($sKey)) |
|
| 93 | 93 | { |
| 94 | - if(!array_key_exists($sKey, $aOptions) || !is_array($aOptions[$sKey])) |
|
| 94 | + if (!array_key_exists($sKey, $aOptions) || !is_array($aOptions[$sKey])) |
|
| 95 | 95 | { |
| 96 | 96 | return; |
| 97 | 97 | } |
@@ -139,13 +139,12 @@ discard block |
||
| 139 | 139 | $sPrefix = rtrim($sPrefix, '.') . '.'; |
| 140 | 140 | $sPrefixLen = strlen($sPrefix); |
| 141 | 141 | $aOptions = array(); |
| 142 | - foreach($this->aOptions as $sName => $xValue) |
|
| 142 | + foreach ($this->aOptions as $sName => $xValue) |
|
| 143 | 143 | { |
| 144 | - if(substr($sName, 0, $sPrefixLen) == $sPrefix) |
|
| 144 | + if (substr($sName, 0, $sPrefixLen) == $sPrefix) |
|
| 145 | 145 | { |
| 146 | 146 | $iNextDotPos = strpos($sName, '.', $sPrefixLen); |
| 147 | - $sOptionName = $iNextDotPos === false ? substr($sName, $sPrefixLen) : |
|
| 148 | - substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen); |
|
| 147 | + $sOptionName = $iNextDotPos === false ? substr($sName, $sPrefixLen) : substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen); |
|
| 149 | 148 | $aOptions[$sOptionName] = $sPrefix . $sOptionName; |
| 150 | 149 | } |
| 151 | 150 | } |