PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

 
Last updated: Fri, 29 Aug 2008

view this page in

HaruEncoder::getType

(PECL haru:0.0.1)

HaruEncoder::getTypeエンコーダの型を取得する

説明

int HaruEncoder::getType ( void )

エンコーダの型を取得します。

パラメータ

この関数にはパラメータはありません。

返り値

エンコーダの型を返します。結果は以下のいずれかの値となります。

  • HaruEncoder::TYPE_SINGLE_BYTE - エンコーダはシングルバイト文字用です。
  • HaruEncoder::TYPE_DOUBLE_BYTE - エンコーダはマルチバイト文字用です。
  • HaruEncoder::TYPE_UNINITIALIZED - エンコーダが初期化されていません。
  • HaruEncoder::UNKNOWN - エンコーダが無効です。

エラー / 例外

エラー時に HaruException をスローします。



add a note add a note User Contributed Notes
HaruEncoder::getType
There are no user contributed notes for this page.

 
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites