In order to write a plugin class, simply include and extend the
abstract class Zend_Controller_Plugin_Abstract:
<?php
class MyPlugin extends Zend_Controller_Plugin_Abstract
{
// ...
}
None of the methods of Zend_Controller_Plugin_Abstract
are abstract, and this means that plugin classes are not forced to
implement any of the available event methods listed above. Plugin
writers may implement only those methods required by their
particular needs.
Zend_Controller_Plugin_Abstract also makes the request
and response objects available to controller plugins via the
getRequest() and getResponse()
methods, respectively.




