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

    (PECL haru >= 0.0.1)

    Insert new page just before the specified page

    说明

    HaruDoc::insertPage(object $page): object

    Creates a new page and inserts just before the specified page.

    参数

    $page

    A valid HaruPage instance.

    返回值

    Returns a new HaruPage instance.

    错误/异常

    发生错误时抛出HaruException异常。

    参见

    • HaruDoc::addPage() Add new page to the document