HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual

# HaruDoc::save

(PECL haru >= 0.0.1)

HaruDoc::save — Save the document into the specified file

### Descripción

bool HaruDoc::save ( string `$file` )

Saves the document into the specified file.

### Lista de parámetros

`file`

  The file to save the document to.

### Valores retornados

Returns `TRUE` on success.

### Errors/Exceptions

Throws a HaruException on error.

### Ver también

- HaruDoc::output - Write the document data to the output buffer

HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual