Class Klutz
Klutz Base Class.
Copyright 2002-2012 Horde LLC (http://www.horde.org/)
public
|
|
public
string
|
|
public
integer
|
#
_sortComics( string $a, string $b )
Comparse two comics and return -1, 0, or 1 based on the $sort member variable |
public
array
|
#
listEnabled( array $list = null, timestamp $date = null )
Return a list of comics that are marked as enabled, and that should appear on a given day if a date is passed in. |
public
array
|
#
listByDriver( string $driver, array $list = null )
Return a list of comics that use the given fetch driver |
public
object
|
|
public
mixed
|
#
getProperty( string $index, string $property )
Return the requested property for the requested comic |
public
array
|
$days
Used to translate between literal dow and numeric dow (sun = 0, 7) |
#
array('sun', 'mon', 'tue', 'wed',
'thu', 'fri', 'sat', 'sun')
|
public
array
|
$image_types
MIME types for images based on the return value from getimagesize |
#
array(1 => 'image/gif',
2 => 'image/jpg',
3 => 'image/png',
6 => 'image/bmp',
7 => 'image/tiff',
8 => 'image/tiff',
)
|
public
array
|
$comics
Array of comics and their associated attributes |
#
array()
|
public
integer
|
$sort
Sorting method to use. Options are KLUTZ_SORT_NAME (sort by comic title), KLUTZ_SORT_AUTHOR (sort by Author's last name), and KLUTZ_SORT_NOSORT (don't promise any given sorting order). |
#
null
|