Klutz_DriverKlutz_Driver:: defines an API for storing and retrieving the comic images
$Horde: klutz/lib/Driver.php,v 1.36 2007/05/26 00:45:32 mrubinsk Exp $
Located in /lib/Driver.php (line 11)
| Class | Description |
|---|---|
Klutz_Driver_file
|
Klutz Driver implementation for comics as files. |
Klutz_Driver_sql
|
Klutz Driver implementation for comics as files with SUM info stored in SQL database. |
Constructor Klutz_Driver (line 100)
factory (line 26)
Gets a concrete Klutz_Driver instance.
imageExists (line 177)
Find out if we already have a local copy of this image.
Even though we never actually store a local copy, pretend.
imageSize (line 160)
Get the image dimensions for the requested image.
The image is not stored locally so this function returns an empty string. Performance hit is too expensive to make this worth it.
listDates (line 118)
Gets a list of the dates for which we have comics between $oldest and $newest. In the default driver (no backend) this is just a list of all dates between $oldest and $newest.
retrieveImage (line 209)
Retrieve an image from storage. Since there is no local storage this will actually call for the fetching.
singleton (line 76)
Gets a reference to a concrete Klutz_Driver instance.
It will only create a new instance if no Klutz_Driver instance with the same parameters currently exists.
This should be used if multiple storage sources are required.
This method must be invoked as follows:
$var = &Klutz_Driver::singleton();
storeImage (line 193)
Store an image for later retrieval
Even though we never actually store a local copy, pretend.
Documentation generated on Sun, 30 Jan 2011 05:30:35 +0000 by phpDocumentor 1.4.3