Changeset 22911 for branches/version-2_13-dev/data/class
- Timestamp:
- 2013/06/28 14:53:23 (11 years ago)
- Location:
- branches/version-2_13-dev/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_CheckError.php
r22879 r22911 27 27 *---------------------------------------------------------------------- 28 28 */ 29 class SC_CheckError 30 { 29 class SC_CheckError { 31 30 var $arrErr = array(); 32 31 var $arrParam; 33 32 34 33 // チェック対象の値が含まれる配列をセットする。 35 function __construct($array = '') 36 { 34 function __construct($array = '') { 37 35 if ($array != '') { 38 36 $this->arrParam = $array; … … 43 41 } 44 42 45 function doFunc($value, $arrFunc) 46 { 43 function doFunc($value, $arrFunc) { 47 44 foreach ($arrFunc as $key) { 48 45 $this->$key($value); … … 56 53 * @return void 57 54 */ 58 function HTML_TAG_CHECK($value) 59 { 55 function HTML_TAG_CHECK($value) { 60 56 if (isset($this->arrErr[$value[1]])) { 61 57 return; … … 63 59 $this->createParam($value); 64 60 // HTMLに含まれているタグを抽出する 65 $arrTagIncludedHtml = array(); 66 preg_match_all('/<\/?([a-z]+)/i', $this->arrParam[$value[1]], $arrTagIncludedHtml); 67 // 抽出結果を小文字に変換 68 foreach ($arrTagIncludedHtml[1] as $key => $matchedTag) { 69 $arrTagIncludedHtml[1][$key] = strtolower($matchedTag); 70 } 61 preg_match_all('/<\/?([a-z]+)/i', $this->arrParam[$value[1]], $arrTagIncludedHtml = array()); 62 71 63 $arrDiffTag = array_diff($arrTagIncludedHtml[1], $value[2]); 72 64 … … 89 81 * @return void 90 82 */ 91 function EXIST_CHECK($value) 92 { 83 function EXIST_CHECK($value) { 93 84 if (isset($this->arrErr[$value[1]])) { 94 85 return; … … 109 100 * @return void 110 101 */ 111 function EXIST_CHECK_REVERSE($value) 112 { 102 function EXIST_CHECK_REVERSE($value) { 113 103 if (isset($this->arrErr[$value[0]])) { 114 104 return; 115 105 } 116 $this->createParam($value);106 // $this->createParam($value); 117 107 if (strlen($this->arrParam[$value[0]]) == 0) { 118 108 $this->arrErr[$value[0]] = '※ ' . $value[0] . 'が入力されていません。<br />'; … … 127 117 * @return void 128 118 */ 129 function SPTAB_CHECK($value) 130 { 119 function SPTAB_CHECK($value) { 131 120 if (isset($this->arrErr[$value[1]])) { 132 121 return; … … 145 134 * @return void 146 135 */ 147 function NO_SPTAB($value) 148 { 136 function NO_SPTAB($value) { 149 137 if (isset($this->arrErr[$value[1]])) { 150 138 return; … … 157 145 158 146 /* ゼロで開始されている数値の判定 */ 159 function ZERO_START($value) 160 { 147 function ZERO_START($value) { 161 148 if (isset($this->arrErr[$value[1]])) { 162 149 return; … … 175 162 * @return void 176 163 */ 177 function SELECT_CHECK($value) 178 { 164 function SELECT_CHECK($value) { 179 165 if (isset($this->arrErr[$value[1]])) { 180 166 return; … … 193 179 * @return void 194 180 */ 195 function EQUAL_CHECK($value) 196 { 181 function EQUAL_CHECK($value) { 197 182 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[3]])) { 198 183 return; 199 184 } 200 $this->createParam($value);185 // $this->createParam($value); 201 186 // 文字数の取得 202 187 if ($this->arrParam[$value[2]] !== $this->arrParam[$value[3]]) { … … 212 197 * @return void 213 198 */ 214 function DIFFERENT_CHECK($value) 215 { 199 function DIFFERENT_CHECK($value) { 216 200 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[3]])) { 217 201 return; 218 202 } 219 $this->createParam($value);203 // $this->createParam($value); 220 204 // 文字数の取得 221 205 if ($this->arrParam[$value[2]] == $this->arrParam[$value[3]]) { … … 231 215 * @return void 232 216 */ 233 function GREATER_CHECK($value) 234 { 217 function GREATER_CHECK($value) { 235 218 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[3]])) { 236 219 return; 237 220 } 238 $this->createParam($value);221 // $this->createParam($value); 239 222 // 文字数の取得 240 223 if ($this->arrParam[$value[2]] != '' && $this->arrParam[$value[3]] != '' && ($this->arrParam[$value[2]] > $this->arrParam[$value[3]])) { … … 250 233 * @return void 251 234 */ 252 function MAX_LENGTH_CHECK($value) 253 { 235 function MAX_LENGTH_CHECK($value) { 254 236 if (isset($this->arrErr[$value[1]])) { 255 237 return; … … 269 251 * @return void 270 252 */ 271 function MIN_LENGTH_CHECK($value) 272 { 253 function MIN_LENGTH_CHECK($value) { 273 254 if (isset($this->arrErr[$value[1]])) { 274 255 return; … … 288 269 * @return void 289 270 */ 290 function MAX_CHECK($value) 291 { 271 function MAX_CHECK($value) { 292 272 if (isset($this->arrErr[$value[1]])) { 293 273 return; … … 307 287 * @return void 308 288 */ 309 function MIN_CHECK($value) 310 { 289 function MIN_CHECK($value) { 311 290 if (isset($this->arrErr[$value[1]])) { 312 291 return; … … 325 304 * @return void 326 305 */ 327 function NUM_CHECK($value) 328 { 306 function NUM_CHECK($value) { 329 307 if (isset($this->arrErr[$value[1]])) { 330 308 return; … … 343 321 * @return void 344 322 */ 345 function NUM_POINT_CHECK($value) 346 { 323 function NUM_POINT_CHECK($value) { 347 324 if (isset($this->arrErr[$value[1]])) { 348 325 return; … … 354 331 } 355 332 356 function ALPHA_CHECK($value) 357 { 333 function ALPHA_CHECK($value) { 358 334 if (isset($this->arrErr[$value[1]])) { 359 335 return; … … 378 354 * @return void 379 355 */ 380 function TEL_CHECK($value) 381 { 356 function TEL_CHECK($value) { 382 357 $telItemLen = isset($value[4]) ? $value[4] : TEL_ITEM_LEN; 383 358 $telLen = isset($value[5]) ? $value[5] : TEL_LEN; … … 420 395 value[1] : 判定対象要素名 421 396 */ 422 function FULL_EXIST_CHECK($value) 423 { 397 function FULL_EXIST_CHECK($value) { 424 398 $max = count($value); 425 399 $this->createParam($value); … … 449 423 value[1] : 判定対象要素名 450 424 */ 451 function ALL_EXIST_CHECK($value) 452 { 425 function ALL_EXIST_CHECK($value) { 453 426 $max = count($value); 454 427 … … 481 454 value[1] : 判定対象要素名 482 455 */ 483 function ONE_EXIST_CHECK($value) 484 { 456 function ONE_EXIST_CHECK($value) { 485 457 $max = count($value); 486 458 $this->createParam($value); … … 510 482 value[1] : 判定対象要素名 511 483 */ 512 function TOP_EXIST_CHECK($value) 513 { 484 function TOP_EXIST_CHECK($value) { 514 485 $max = count($value); 515 486 $this->createParam($value); … … 544 515 // 入力文字がカナ以外ならエラーを返す 545 516 // value[0] = 項目名 value[1] = 判定対象文字列 546 function KANA_CHECK($value) 547 { 517 function KANA_CHECK($value) { 548 518 if (isset($this->arrErr[$value[1]])) { 549 519 return; … … 558 528 // 入力文字がカナ以外ならエラーを返す 559 529 // value[0] = 項目名 value[1] = 判定対象文字列 560 function KANABLANK_CHECK($value) 561 { 530 function KANABLANK_CHECK($value) { 562 531 if (isset($this->arrErr[$value[1]])) { 563 532 return; … … 572 541 // 入力文字が英数字以外ならエラーを返す 573 542 // value[0] = 項目名 value[1] = 判定対象文字列 574 function ALNUM_CHECK($value) 575 { 543 function ALNUM_CHECK($value) { 576 544 if (isset($this->arrErr[$value[1]])) { 577 545 return; … … 586 554 // 入力文字が英数記号以外ならエラーを返す 587 555 // value[0] = 項目名 value[1] = 判定対象文字列 588 function GRAPH_CHECK($value) 589 { 556 function GRAPH_CHECK($value) { 590 557 if (isset($this->arrErr[$value[1]])) { 591 558 return; … … 600 567 // 入力値で0が許されない場合エラーを返す 601 568 // value[0] = 項目名 value[1] = 判定対象 602 function ZERO_CHECK($value) 603 { 569 function ZERO_CHECK($value) { 604 570 $this->createParam($value); 605 571 if ($this->arrParam[$value[1]] == '0') { … … 611 577 // 入力文字の桁数判定 → 最小桁数<入力文字列<最大桁数 612 578 // value[0] = 項目名 value[1] = 判定対象文字列 value[2] = 最小桁数 value[3] = 最大桁数 613 function NUM_RANGE_CHECK($value) 614 { 579 function NUM_RANGE_CHECK($value) { 615 580 if (isset($this->arrErr[$value[1]])) { 616 581 return; … … 627 592 // 入力文字の桁数判定 → 入力文字列 = 桁数 以外はNGの場合 628 593 // value[0] = 項目名 value[1] = 判定対象文字列 value[2] = 桁数 629 function NUM_COUNT_CHECK($value) 630 { 594 function NUM_COUNT_CHECK($value) { 631 595 if (isset($this->arrErr[$value[1]])) { 632 596 return; … … 647 611 * @return void 648 612 */ 649 function EMAIL_CHECK($value) 650 { 613 function EMAIL_CHECK($value) { 651 614 if (isset($this->arrErr[$value[1]])) { 652 615 return; … … 697 660 // メールアドレスに使用する文字を正規表現で判定する 698 661 // value[0] = 項目名 value[1] = 判定対象メールアドレス 699 function EMAIL_CHAR_CHECK($value) 700 { 662 function EMAIL_CHAR_CHECK($value) { 701 663 if (isset($this->arrErr[$value[1]])) { 702 664 return; … … 711 673 // URLを正規表現で判定する。デフォルトでhttp://があってもOK 712 674 // value[0] = 項目名 value[1] = 判定対象URL 713 function URL_CHECK($value) 714 { 675 function URL_CHECK($value) { 715 676 if (isset($this->arrErr[$value[1]])) { 716 677 return; … … 723 684 /* IPアドレスの判定 */ 724 685 // value[0] = 項目名 value[1] = 判定対象IPアドレス文字列 725 function IP_CHECK($value) 726 { 686 function IP_CHECK($value) { 727 687 if (isset($this->arrErr[$value[1]])) { 728 688 return; … … 747 707 // 受け取りがない場合エラーを返す 748 708 // value[0] = 項目名 value[1] = 判定対象 value[2]=array(拡張子) 749 function FILE_EXT_CHECK($value) 750 { 709 function FILE_EXT_CHECK($value) { 751 710 if (isset($this->arrErr[$value[1]]) || count($value[2]) == 0) { 752 711 return; … … 774 733 // 受け取りがない場合エラーを返す 775 734 // value[0] = 項目名 value[1] = 判定対象 value[2] = 指定ディレクトリ 776 function FIND_FILE($value) 777 { 735 function FIND_FILE($value) { 778 736 if (isset($this->arrErr[$value[1]])) { 779 737 return; … … 798 756 // 受け取りがない場合エラーを返す 799 757 // value[0] = 項目名 value[1] = 判定対象 value[2] = 指定サイズ(KB) 800 function FILE_EXIST_CHECK($value) 801 { 758 function FILE_EXIST_CHECK($value) { 802 759 if (isset($this->arrErr[$value[1]])) { 803 760 return; … … 812 769 // 受け取りがない場合エラーを返す 813 770 // value[0] = 項目名 value[1] = 判定対象 value[2] = 指定サイズ(KB) 814 function FILE_SIZE_CHECK($value) 815 { 771 function FILE_SIZE_CHECK($value) { 816 772 if (isset($this->arrErr[$value[1]])) { 817 773 return; … … 831 787 // 入力文字が英数字,'_','-'以外ならエラーを返す 832 788 // value[0] = 項目名 value[1] = 判定対象文字列 833 function FILE_NAME_CHECK($value) 834 { 789 function FILE_NAME_CHECK($value) { 835 790 if (isset($this->arrErr[$value[1]])) { 836 791 return; … … 845 800 // 入力文字が英数字,'_','-'以外ならエラーを返す 846 801 // value[0] = 項目名 value[1] = 判定対象文字列 847 function FILE_NAME_CHECK_BY_NOUPLOAD($value) 848 { 802 function FILE_NAME_CHECK_BY_NOUPLOAD($value) { 849 803 if (isset($this->arrErr[$value[1]])) { 850 804 return; … … 861 815 // value[2] = MM 862 816 // value[3] = DD 863 function CHECK_DATE($value) 864 { 817 function CHECK_DATE($value) { 865 818 if (isset($this->arrErr[$value[1]])) { 866 819 return; … … 885 838 // value[4] = HH 886 839 // value[5] = mm 887 function CHECK_DATE2($value) 888 { 840 function CHECK_DATE2($value) { 889 841 if (isset($this->arrErr[$value[1]])) { 890 842 return; … … 906 858 // value[1] = YYYY 907 859 // value[2] = MM 908 function CHECK_DATE3($value) 909 { 860 function CHECK_DATE3($value) { 910 861 if (isset($this->arrErr[$value[1]])) { 911 862 return; … … 928 879 // value[2] = MM 929 880 // value[3] = DD 930 function CHECK_BIRTHDAY($value) 931 { 881 function CHECK_BIRTHDAY($value) { 932 882 if (isset($this->arrErr[$value[1]])) { 933 883 return; … … 936 886 $this->createParam($value); 937 887 // 年が入力されている。 938 if (strlen($this->arrParam[$value[1]]) >= 1) { 888 if ($this->arrParam[$value[1]] > 0) { 889 939 890 // 年の数字チェック、最小数値制限チェック 940 891 $this->doFunc(array($value[0].'(年)', $value[1], BIRTH_YEAR), array('NUM_CHECK', 'MIN_CHECK')); … … 973 924 // value[6] = end_month 974 925 // value[7] = end_day 975 function CHECK_SET_TERM($value) 976 { 926 function CHECK_SET_TERM($value) { 927 977 928 // 期間指定 978 929 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[5]])) { 979 930 return; 980 931 } 981 $this->createParam($value);932 // $this->createParam($value); 982 933 if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0 || strlen($this->arrParam[$value[4]]) > 0) && ! checkdate($this->arrParam[$value[3]], $this->arrParam[$value[4]], $this->arrParam[$value[2]])) { 983 934 $this->arrErr[$value[2]] = '※ ' . $value[0] . 'を正しく指定してください。<br />'; … … 987 938 } 988 939 if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0) && (strlen($this->arrParam[$value[5]]) > 0 || strlen($this->arrParam[$value[6]]) > 0 || strlen($this->arrParam[$value[7]]) > 0)) { 940 989 941 $date1 = $this->arrParam[$value[2]] .sprintf('%02d', $this->arrParam[$value[3]]) .sprintf('%02d',$this->arrParam[$value[4]]) .'000000'; 990 942 $date2 = $this->arrParam[$value[5]] .sprintf('%02d', $this->arrParam[$value[6]]) .sprintf('%02d',$this->arrParam[$value[7]]) .'235959'; … … 1022 974 1023 975 /*-----------------------------------------------------------------*/ 1024 function CHECK_SET_TERM2($value) 1025 { 976 function CHECK_SET_TERM2($value) { 977 1026 978 // 期間指定 1027 979 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[8]])) { 1028 980 return; 1029 981 } 1030 $this->createParam($value);982 // $this->createParam($value); 1031 983 if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0 || strlen($this->arrParam[$value[4]]) > 0 || strlen($this->arrParam[$value[5]]) > 0) && ! checkdate($this->arrParam[$value[3]], $this->arrParam[$value[4]], $this->arrParam[$value[2]])) { 1032 984 $this->arrErr[$value[2]] = '※ ' . $value[0] . 'を正しく指定してください。<br />'; … … 1036 988 } 1037 989 if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0 && strlen($this->arrParam[$value[5]]) > 0) && (strlen($this->arrParam[$value[8]]) > 0 || strlen($this->arrParam[$value[9]]) > 0 || strlen($this->arrParam[$value[10]]) > 0 || strlen($this->arrParam[$value[11]]) > 0)) { 990 1038 991 $date1 = $this->arrParam[$value[2]] .sprintf('%02d', $this->arrParam[$value[3]]) .sprintf('%02d',$this->arrParam[$value[4]]) .sprintf('%02d',$this->arrParam[$value[5]]).sprintf('%02d',$this->arrParam[$value[6]]).sprintf('%02d',$this->arrParam[$value[7]]); 1039 992 $date2 = $this->arrParam[$value[8]] .sprintf('%02d', $this->arrParam[$value[9]]) .sprintf('%02d',$this->arrParam[$value[10]]) .sprintf('%02d',$this->arrParam[$value[11]]).sprintf('%02d',$this->arrParam[$value[12]]).sprintf('%02d',$this->arrParam[$value[13]]); … … 1064 1017 // value[4] = end_year 1065 1018 // value[5] = end_month 1066 function CHECK_SET_TERM3($value) 1067 { 1019 function CHECK_SET_TERM3($value) { 1020 1068 1021 // 期間指定 1069 1022 if (isset($this->arrErr[$value[2]]) || isset($this->arrErr[$value[4]])) { 1070 1023 return; 1071 1024 } 1072 $this->createParam($value);1025 // $this->createParam($value); 1073 1026 if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0) && ! checkdate($this->arrParam[$value[3]], 1, $this->arrParam[$value[2]])) { 1074 1027 $this->arrErr[$value[2]] = '※ ' . $value[0] . 'を正しく指定してください。<br />'; … … 1078 1031 } 1079 1032 if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && (strlen($this->arrParam[$value[4]]) > 0 || strlen($this->arrParam[$value[5]]) > 0))) { 1033 1080 1034 $date1 = $this->arrParam[$value[2]] .sprintf('%02d', $this->arrParam[$value[3]]); 1081 1035 $date2 = $this->arrParam[$value[4]] .sprintf('%02d', $this->arrParam[$value[5]]); … … 1088 1042 1089 1043 //ディレクトリ存在チェック 1090 function DIR_CHECK($value) 1091 { 1044 function DIR_CHECK($value) { 1092 1045 if (isset($this->arrErr[$value[1]])) { 1093 1046 return; … … 1100 1053 1101 1054 // ドメインチェック 1102 function DOMAIN_CHECK($value) 1103 { 1055 function DOMAIN_CHECK($value) { 1104 1056 if (isset($this->arrErr[$value[1]])) { 1105 1057 return; … … 1113 1065 // メールアドレスを正規表現で判定する 1114 1066 // value[0] = 項目名 value[1] = 判定対象メールアドレス 1115 function MOBILE_EMAIL_CHECK($value) 1116 { 1067 function MOBILE_EMAIL_CHECK($value) { 1117 1068 if (isset($this->arrErr[$value[1]])) { 1118 1069 return; … … 1133 1084 * @return void 1134 1085 */ 1135 function CHECK_REGIST_CUSTOMER_EMAIL($value) 1136 { 1086 function CHECK_REGIST_CUSTOMER_EMAIL($value) { 1137 1087 if (isset($this->arrErr[$value[1]])) { 1138 1088 return; … … 1160 1110 * @example $objErr->doFunc(array('URL', 'contents', $arrReviewDenyURL), array('PROHIBITED_STR_CHECK')); 1161 1111 */ 1162 function PROHIBITED_STR_CHECK($value) 1163 { 1112 function PROHIBITED_STR_CHECK($value) { 1164 1113 if (isset($this->arrErr[$value[1]]) || empty($this->arrParam[$value[1]])) { 1165 1114 return; … … 1169 1118 $prohibitedStr = str_replace(array('|', '/'), array('\|', '\/'), $value[2]); 1170 1119 1171 $pattern = '/' . join(' \b|\b', $prohibitedStr) . '\b/i';1172 if (preg_match_all($pattern, $targetStr, $matches )) {1120 $pattern = '/' . join('|', $prohibitedStr) . '/i'; 1121 if (preg_match_all($pattern, $targetStr, $matches = array())) { 1173 1122 $this->arrErr[$value[1]] = '※ ' . $value[0] . 'は入力できません。<br />'; 1174 1123 } … … 1182 1131 * @return void 1183 1132 */ 1184 function EVAL_CHECK($value) 1185 { 1133 function EVAL_CHECK($value) { 1186 1134 if (isset($this->arrErr[$value[0]])) { 1187 1135 return; 1188 1136 } 1189 $this->createParam($value);1137 // $this->createParam($value); 1190 1138 if ($this->evalCheck($value[1]) === false) { 1191 1139 $this->arrErr[$value[0]] = '※ ' . $value[0] . ' の形式が不正です。<br />'; … … 1204 1152 * @return bool パラメーターとして適切な文字列か 1205 1153 */ 1206 function evalCheck($value) 1207 { 1154 function evalCheck($value) { 1208 1155 return @eval('return is_scalar(' . $value . ');'); 1209 1156 } … … 1216 1163 * @return void 1217 1164 */ 1218 function createParam($value) 1219 { 1220 foreach ($value as $key) { 1221 if (is_string($key) || is_int($key)) { 1222 if (!isset($this->arrParam[$key])) $this->arrParam[$key] = ''; 1223 } 1224 } 1165 function createParam($value) { 1166 foreach ($value as $val_key => $key) { 1167 if ($val_key != 0 && (is_string($key) || is_int($key))) { 1168 if (!is_numeric($key) && preg_match('/^[a-z0-9_]+$/i', $key)) { 1169 if (!isset($this->arrParam[$key])) $this->arrParam[$key] = ''; 1170 if (strlen($this->arrParam[$key]) > 0 1171 && (preg_match('/^[[:alnum:]\-\_]*[\.\/\\\\]*\.\.(\/|\\\\)/',$this->arrParam[$key]) || !preg_match('/\A[^\x00-\x08\x0b\x0c\x0e-\x1f\x7f]+\z/u', $this->arrParam[$key]))) { 1172 $this->arrErr[$value[1]] = '※ ' . $value[0] . 'に禁止された記号の並びまたは制御文字が入っています。<br />'; 1173 } 1174 } else if (preg_match('/[^a-z0-9_]/i', $key)) { 1175 trigger_error('', E_USER_ERROR); 1176 } 1177 } 1178 } 1225 1179 } 1226 1180 … … 1232 1186 * @return boolean 値が10進数の数値表現のみの場合 true 1233 1187 */ 1234 function numelicCheck($string) 1235 { 1188 function numelicCheck($string) { 1236 1189 /* 1237 1190 * XXX 10進数の数値表現か否かを調べたいだけだが, … … 1240 1193 */ 1241 1194 $string = (string) $string; 1242 1243 1195 return strlen($string) > 0 && !ctype_digit($string); 1244 1196 } -
branches/version-2_13-dev/data/class/SC_FormParam.php
r22856 r22911 290 290 } 291 291 } else { 292 $objErr = new SC_CheckError_Ex(array( 0=> $value));293 $objErr->doFunc(array($disp_name, 0, $length), array($func));292 $objErr = new SC_CheckError_Ex(array(($error_last_key ? $error_last_key : $error_key) => $value)); 293 $objErr->doFunc(array($disp_name, ($error_last_key ? $error_last_key : $error_key), $length), array($func)); 294 294 if (!SC_Utils_Ex::isBlank($objErr->arrErr)) { 295 295 foreach ($objErr->arrErr as $message) {
Note: See TracChangeset
for help on using the changeset viewer.