Klutz Comic Class.
$Horde: klutz/lib/Comic.php,v 1.33 2006/11/26 03:18:55 chuck Exp $
Located in /lib/Comic.php (line 10)
Class | Description |
---|---|
![]() |
Klutz_Comic_bysize Class. |
![]() |
Klutz_Comic_direct Class. |
![]() |
Klutz_Comic_search Class. |
The user-agent to use when fetching the comic.
The author or authors of the comic (the byline)
Some comment to display for this comic
Cookies to set when fetching the comic.
Days (lowercase, three-letter english abbreviation) that this comic is is available.
Headers to set when fetching the comic.
The URL for the official homepage (not necessarily where we get the comic from.
Web browser object used to fetch pages
The number of the "first" instance of the comic (the reference number) when using the reference-based instance type
The date for which the reference is icount.
Format string for the instance construct (printf string)
The day the "week" starts for instance type weekly.
Abbreviated day name in english, lowercase.
Method for counting instances (when using the 'i' construct in substitutions.
The title of the comics (Dilbert, The 5th Wave, etc.)
Are past episodes available? Some comics are difficult or impossible to retrieve other than the day it's published.
Days behind the current date this comic is published
The array of overrides by weekday. If sun_url exists, then when trying to fetch the sunday edition of this comic, it will fetch it from the specified url instead of $url.
The password to use when fetching the comic.
The referral URL to use when fetching the comic.
An array of the fields we need to do substitution on.
The first url we need to hit to get the comic we want.
The username to use when fetching the comic.
Loads the $comics[$comic] array into this object
Get the instance requested based on the date. The instance is determined by itype, iformat, idate, isow
Get an instance number for a comic that appears monthly
Get an instance number for a comic based on a date reference.
This takes the idate option as a reference date, then uses the 'days' setting to determine how often it appears. Using this information it extrapolates which instance will occur on the date requested.
Get an instance number for a comic that appears weekly
Get an instance number for a comic that appears yearly (NOT IMPLEMENTED!)
Check for "override" settings - settings that override other settings depending on the day on which the comic appears
Process known substitutions in a string. Currently known options:
Create an HTTP_Request object and set all parameters necessary to perform fetches for this comic.
Documentation generated on Sun, 30 Jan 2011 05:30:34 +0000 by phpDocumentor 1.4.3