文字

HaruDoc::save

(PECL haru >= 0.0.1)

HaruDoc::saveSave the document into the specified file

说明

bool HaruDoc::save ( string $file )

Saves the document into the specified file.

参数

file

The file to save the document to.

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

参见

  • HaruDoc::output() - Write the document data to the output buffer
上一篇: 下一篇: