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

    (PECL haru >= 0.0.1)

    Define which page is shown when the document is opened

    说明

    HaruDoc::setOpenAction(object $destination): bool

    Defines which page should be shown when the document is opened.

    参数

    $destination

    A valid HaruDestination instance.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。