Dump the contents of the file to stdout.
Must be implemented by subclasses so that binary status is handled correctly. (i.e. ignored for Clob, handled for Blob)
Tags:
Overridden in child classes as:
- Blob::dump()
- Dump the contents of the file using fpassthru().
- Clob::dump()
- Dump the contents of the file using fpassthru().
void readFromFile(
[string
$file = null])
|
|
Read LOB data from file (binary safe).
(Implementation may need to be moved into Clob / Blob subclasses, but since file_get_contents() is binary-safe, it hasn't been necessary so far.)
Tags:
Overridden in child classes as:
- Clob::readFromFile()
- Read LOB data from file.
Parameters:
void setContents(
mixed
$data, string
$bytes)
|
|
Set the contents of this LOB.
Sets the modified flag to FALSE if this is the first call to setContents() for this object. Sets the bit to TRUE if this any subsequent call to setContents().
Tags:
Parameters:
void writeToFile(
[string
$file = null])
|
|
Write LOB data to file (binary safe).
(Impl may need to move into subclasses, but so far not necessary.)
Tags:
Overridden in child classes as:
- Clob::writeToFile()
- Write LOB data to file.
Parameters: