• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruDoc::getCurrentEncoder()

    (PECL haru >= 0.0.1)

    Get HaruEncoder currently used in the document

    说明

    HaruDoc::getCurrentEncoder(void): object

    Get the HaruEncoder currently used in the document.

    参数

    此函数没有参数。

    返回值

    Returns HaruEncoder currently used in the document or FALSE if encoder is not set.

    错误/异常

    发生错误时抛出HaruException异常。

    参见

    • HaruDoc::setCurrentEncoder() Set the current encoder for the document