- Timestamp:
- 2007/07/20 15:58:59 (17 years ago)
- Location:
- branches/feature-module-update
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update
-
Property
svn:ignore
set to
.cache
.settings
.projectOptions
-
Property
svn:ignore
set to
-
branches/feature-module-update/data/smarty_extends/modifier.numeric_emoji.php
r12157 r15078 1 1 <?php 2 2 /** 3 * ¿ôÃͤò¿ô»ú³¨Ê¸»ú¤ËÊÑ´¹¤¹¤ë¡£3 * 数値を数字絵文字に変換する。 4 4 * 5 * ÆþÎϤ¬0¡Á9¤Ç¤Ï¤Ê¤¤¾ì¹ç¡¢¤Þ¤¿¤Ï¡¢·ÈÂÓüËö¤«¤é¤Î¥¢¥¯¥»¥¹¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ï¡¢6 * ÆþÎϤò [ ¤È ] ¤Ç°Ï¤ó¤Àʸ»úÎó¤òÊÖ¤¹¡£5 * 入力が0〜9ではない場合、または、携帯端末からのアクセスではない場合は、 6 * 入力を [ と ] で囲んだ文字列を返す。 7 7 * 8 * @param string $value ÆþÎÏ9 * @return string ½ÐÎÏ8 * @param string $value 入力 9 * @return string 出力 10 10 */ 11 11 function smarty_modifier_numeric_emoji($value) { 12 // ¿ô»ú³¨Ê¸»ú (0¡Á9) ¤Î³¨Ê¸»úÈÖ¹æ12 // 数字絵文字 (0〜9) の絵文字番号 13 13 static $numeric_emoji_index = array('134', '125', '126', '127', '128', '129', '130', '131', '132', '133'); 14 14
Note: See TracChangeset
for help on using the changeset viewer.