PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

HaruDoc::setOpenAction

(PECL haru >= 0.0.1)

HaruDoc::setOpenActionDefine 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 异常。