$days
$days : array
Used to translate between literal dow and numeric dow (sun = 0, 7)
Klutz Base Class.
Copyright 2002-2017 Horde LLC (http://www.horde.org/)
Klutz(integer $sort = KLUTZ_SORT_NAME)
Constructor - Parse the /config/comics.php config file and store the results in $comic. Also tries to validate all the data it can and adjust case, etc., to more predictible consistency than humans editing config files can give. :)
integer | $sort | Sorting method to use |
listEnabled(array $list = null, \timestamp $date = null) : array
Return a list of comics that are marked as enabled, and that should appear on a given day if a date is passed in.
array | $list | The list to extract from (default is all comics, but smaller arrays are okay). |
\timestamp | $date | If passed in, check the $days array to make sure the comic should appear today. |
A list of comic indecies
listByDriver(string $driver, array $list = null) : array
Return a list of comics that use the given fetch driver
string | $driver | The driver to check for |
array | $list | The list to filter by driver (default all comics) |
A list of the comics passed in that have been filtered based on driver