Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

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