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

HaruDoc::createOutline

(PECL haru >= 0.0.1)

HaruDoc::createOutlineCreate a HaruOutline instance

说明

HaruDoc::createOutline ( string $title [, object $parent_outline [, object $encoder ]] ) : object

Create a HaruOutline instance.

参数

title

The caption of new outline object.

parent_outline

A valid HaruOutline instance or NULL.

encoder

A valid HaruEncoder instance or NULL.

返回值

Returns a new HaruOutline instance.

错误/异常

发生错误时抛出 HaruException 异常。