Zend Framework Notes

Just keeping a list of important notes that I thought people might be interested in and where not currently documented to my knowledge.

Code snippets and examples can be found Here

Between 0.1.1 and 0.1.2 the format for your actions changed from

function index() to function indexAction()

Within your controllers you can access URL passed parameters using

$this->_getAllParams()

Defining

function __call($action, $args)

seems to be a better method for catching noRoutes.

You can add your own personnal filters to the view method using

$view->addFilterPath(_LIBRARIES);
$view->addFilter('Translate');

http://projects.cyberlot.net/trac/opensource/browser/Zend_Framework_Tran... is an example of this.