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.

### 오류/예외

오류 시에 HaruException을 던짐.

### 참고

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

HaruDoc::resetStream
HaruDoc::saveToStream
HaruDoc
PHP Manual