HaruDoc
PHP 手册

HaruDoc::getEncoder

(PECL haru >= 0.0.1)

HaruDoc::getEncoderGet HaruEncoder instance for the specified encoding

说明

object HaruDoc::getEncoder ( string $encoding )

Get the HaruEncoder instance for the specified encoding.

参数

encoding

The encoding name. See Builtin Encodings for the list of allowed values.

返回值

Returns a HaruEncoder instance for the specified encoding.

错误/异常

Throws HaruException on error.

参见


HaruDoc
PHP 手册