Emo
[ class tree: Emo ] [ index: Emo ] [ all elements ]

Class: Emo

Source Location: /Emo.php

Class Overview


絵文字クラスライブラリ


Variables

Methods



Class Details

[line 33]
絵文字クラスライブラリ



[ Top ]


Class Variables

$auto_encode =  true

[line 117]

文字コードの自動エンコードフラグです。

受信した文字の文字コードを自動で判定し、適切な文字コードで受け取るようにします。 デフォルトはtrueです。 </form>を含むHTMLをdecode()表示 → request(), get(), post()で受信した場合のみ適応されます。 ただし、$type_in~で設定した文字コードは一切無視されます。




Tags:

access:  public

Type:   boolean


[ Top ]

$img_dir =  './libs/img'

[line 48]

絵文字画像ディレクトリパスです。 携帯絵文字をPCで閲覧したときの代替画像になります。 デフォルトは'./libs/img'です。



Tags:

access:  public

Type:   string


[ Top ]

$left_delimiter =  '[['

[line 56]

絵文字コードの開始を表すデリミタです。 デフォルトは'[['です。



Tags:

access:  public

Type:   string


[ Top ]

$right_delimiter =  ']]'

[line 64]

絵文字コードの終了を表すデリミタです。 デフォルトは']]'です。



Tags:

access:  public

Type:   string


[ Top ]

$type_get_base =  "sjis"

[line 104]

呼び出し元の文字コード 右に設定値一覧を示す。(*)がデフォルト



Tags:

access:  public

Type:   string


[ Top ]

$type_get_docomo =  "sjis"

[line 73]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_get_EZweb =  "sjis"

[line 75]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_get_SoftBank =  "web"

[line 77]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_get_Voda3G =  "web"

[line 79]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_in_docomo =  "sjis"

[line 87]

各キャリアの文字コード 右に設定値一覧を示す。(*)がデフォルト



Tags:

access:  public

Type:   string


[ Top ]

$type_in_EZweb =  "sjis"

[line 89]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_in_pc =  "sjis"

[line 95]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_in_SoftBank =  "sjis"

[line 91]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_in_Voda3G =  "sjis"

[line 93]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_out_docomo =  "sjis"

[line 88]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_out_EZweb =  "sjis"

[line 90]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_out_pc =  "sjis"

[line 96]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_out_SoftBank =  "sjis"

[line 92]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_out_Voda3G =  "sjis"

[line 94]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_set_base =  "sjis"

[line 105]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_set_docomo =  "sjis"

[line 72]

各キャリアの絵文字の文字コード 右に設定値一覧を示す。(*)がデフォルト



Tags:

access:  public

Type:   string


[ Top ]

$type_set_EZweb =  "sjis"

[line 74]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_set_SoftBank =  "web"

[line 76]



Tags:

access:  public

Type:   mixed


[ Top ]

$type_set_Voda3G =  "web"

[line 78]



Tags:

access:  public

Type:   mixed


[ Top ]

$userAgent =

[line 125]

ユーザーエイジェント デフォルトは未設定です。



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor Emo [line 182]

Emo Emo( )

constructor



Tags:

access:  public


[ Top ]

method decode [line 215]

string decode( string $str)

デコード 抽象絵文字コードからモバイルコードへ(キャリアは自動判定) 文字コードも変換



Tags:

return:  変換後 例)晴れ曇り
access:  public


Parameters:

string   $str   変換前 例)晴れ[[d-E63E]]曇り[[d-E63F]]

[ Top ]

method dialogBtn [line 292]

string dialogBtn( [string $target = ""], [string $carrier = ""])

絵文字入力支援ダイアログのボタン



Tags:

return:  $carrier) ボタンHTML
access:  public


Parameters:

string   $target   ターゲットとなるDOM名 例)document.f1.t1
string   $carrier   キャリア名 例)d,s,e

[ Top ]

method dialogJs [line 275]

string dialogJs( )

絵文字入力支援ダイアログJS



Tags:

access:  public


[ Top ]

method encode [line 197]

void encode( string $str)

エンコード モバイルコードから抽象絵文字コードへ(キャリアは自動判定) 文字コードも変換



Tags:

access:  public


Parameters:

string   $str   変換前 例)晴れ曇り

[ Top ]

method get [line 245]

array get( )

getエンコードデータ取得



Tags:

access:  public


[ Top ]

method getCarrierShortName [line 321]

string getCarrierShortName( )

短いキャリア名取得



Tags:

return:  短いキャリア名 例)d,s,e
access:  public


[ Top ]

method isMobile [line 307]

boolean isMobile( )

モバイル判定



Tags:

return:  モバイルフラグ
access:  public


[ Top ]

method isVoda3G [line 335]

boolean isVoda3G( )

Vodafone(3G判定)



Tags:

return:  Voda3Gフラグ
access:  public


[ Top ]

method post [line 260]

array post( )

postエンコードデータ取得



Tags:

access:  public


[ Top ]

method request [line 230]

array request( )

requestエンコードデータ取得



Tags:

access:  public


[ Top ]


Documentation generated on Fri, 27 Mar 2009 16:58:25 +0900 by phpDocumentor 1.4.2