Changeset 20647 for branches/version-2_5-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2011/03/15 15:57:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/util/SC_Utils.php
r20541 r20647 1133 1133 } 1134 1134 1135 // チェックボックスの型を変換する1136 function sfChangeCheckBox($data , $tpl = false){1137 if ($tpl) {1138 if ($data == 1){1139 return 'checked';1140 }else{1141 return "";1142 }1143 }else{1144 if ($data == 'on'){1145 return 1;1146 }else{1147 return 2;1148 }1149 }1150 }1151 1152 1135 // 2つの配列を用いて連想配列を作成する 1153 1136 function sfArrCombine($arrKeys, $arrValues) {
Note: See TracChangeset
for help on using the changeset viewer.