Stub controller classes
These classes can be used as base classes for controllers. While any callable can technically be a controller, using a class that inherits from one or more of these classes can make things significantly easier.
Created: | Mar 27, 2011 |
---|---|
Author: | dustin |
Updated: | $Date$ |
Updater: | $Author$ |
The base controller class
This class simply provides empty __before__ and __after__ methods to facilitate cooperative multiple inheritance.
A controller for the “favicon”
This controller is specifically suited to serve a site “favicon” or bookmark icon. By default, it will serve the Milla icon, but you can pass an alternate filename to the constructor.
Parameters: |
|
---|
Number of days in the future to set the cache expiration for the icon