lib/PHPRtfLite.php
public function save($file, $free = true)
    {
        $this->createWriter($file);
        $this->render();
        if ($free) {
            $this->free();
        }
    }
public function save($file, $free = true)
    {
        $this->createWriter($file);
        $this->render();
        if ($free) {
            $this->free();
        }
    }
public function save ( $ file , $ free = true ) { $ this -> createWriter ( $ file ) ; $ this -> render ( ) ; if ( $ free ) { $ this -> free ( ) ; } }
saves rtf document to file

@param string $file Name of file
@param bool   $free
saves rtf document to file