Changeset 20126
- Timestamp:
- 2011/02/09 20:27:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/util/SC_Utils.php
r20116 r20126 612 612 } 613 613 614 /* 配列の要素をPDFフォーマットで出力する。*/615 function sfGetPDFList($array) {616 foreach($array as $key => $val) {617 $line .= "\t".$val;618 }619 $line.="\n";620 return $line;621 }622 623 614 624 615 … … 1096 1087 } 1097 1088 1098 // PDF用のRGBカラーを返す1099 function sfGetPdfRgb($hexrgb) {1100 $hex = substr($hexrgb, 0, 2);1101 $r = hexdec($hex) / 255;1102 1103 $hex = substr($hexrgb, 2, 2);1104 $g = hexdec($hex) / 255;1105 1106 $hex = substr($hexrgb, 4, 2);1107 $b = hexdec($hex) / 255;1108 1109 return array($r, $g, $b);1110 }1111 1112 1089 // 再帰的に多段配列を検索して一次元配列(Hidden引渡し用配列)に変換する。 1113 1090 function sfMakeHiddenArray($arrSrc, $arrDst = array(), $parent_key = "") {
Note: See TracChangeset
for help on using the changeset viewer.