Ignore:
Timestamp:
2013/05/02 18:11:36 (13 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_MobileEmoji.php

    r22567 r22796  
    3131 * 携帯端末の絵文字を扱うクラス 
    3232 */ 
    33 class SC_MobileEmoji  
    34 { 
     33class SC_MobileEmoji { 
    3534    /** 
    3635     * 絵文字タグを各キャリア用の文字コードに変換する 
     
    4039     * @return string 出力 
    4140     */ 
    42     static function handler($buffer) 
    43     { 
     41    static function handler($buffer) { 
    4442        $replace_callback = create_function('$matches', 'return SC_MobileEmoji_Ex::indexToCode($matches[1]);'); 
    4543        return preg_replace_callback('/\[emoji:(e?\d+)\]/', $replace_callback, $buffer); 
     
    5250     * @return string 絵文字を表す Shift JIS の文字列を返す。 
    5351     */ 
    54     function indexToCode($index) 
    55     { 
     52    function indexToCode($index) { 
    5653        $carrier = SC_MobileUserAgent_Ex::getCarrier(); 
    5754        if ($carrier === false) { 
Note: See TracChangeset for help on using the changeset viewer.