PEAR Manual
Prev |  | Next

# File_DICOM::write()

File_DICOM::write() -- Write current contents to a DICOM file.

## Synopsis

    require_once 'File/DICOM.php';

``mixed File_DICOM::write` ([string $outfile = ''])`

## Description

This package is not documented yet.

## Parameter

string `$outfile`

  The name of the file to write. If not given it assumes the name of the file parsed. If no file was parsed and no name is given returns a PEAR_Error

## Return value

returns true on success, PEAR_Error on failure

## Note

This function can not be called statically.

Prev | Home | Next
File_DICOM::parse() | Up | File_DICOM::getValue()