HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual

# HaruDoc::save

(PECL haru:0.0.1)

HaruDoc::save — Save 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.

### Errors/Exceptions

Throws HaruException on error.

### Смотрите также

- HaruDoc::output()

HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual