Lob::__construct
(
$data = null
)
|
Construct a new Lob.
|
string Lob::getContents ( ) |
Get the contents of the LOB.
|
Lob::setContents ( $data ) |
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().
|
void Lob::dump
(
)
[pure virtual]
|
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)
|
void Lob::setInputFile ( $filePath ) |
Specify the file that we want this LOB read from.
|
string Lob::getInputFile ( ) |
Get the file that we want this LOB read from.
|
void Lob::setOutputFile ( $filePath ) |
Specify the file that we want this LOB saved to.
|
string Lob::getOutputFile ( ) |
Get the file that we want this LOB saved to.
|
boolean Lob::isFromFile ( ) |
Returns whether this Lob is loaded from file. This is useful for bypassing need to read in the contents of the Lob.
|
void Lob::readFromFile
(
$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.)
|
Lob::writeToFile
(
$file = null
)
|
Write LOB data to file (binary safe). (Impl may need to move into subclasses, but so far not necessary.)
|
string Lob::__toString ( ) |
Convenience method to get contents of LOB as string.
|
Lob::setModified ( $b ) |
Set whether LOB contents have been modified after initial setting.
|
boolean Lob::isModified ( ) |
Whether LOB contents have been modified after initial setting.
|
Lob::$data [protected]
|
|
Lob::$outFile [protected]
|
|
Lob::$inFile [protected]
|
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|