rendered paste bodyPath: controls/myControlController.php
require_once 'Zend/Controller/Action.php';
class myControlController extends Zend_Controller_Action
{
public function __call($action, $args)
{
// catch non-existant args
}
public function norouteAction()
{
// does the same as __call()?
}
public function indexAction()
{
}
}
=== OR ===
Path: controls/myController.php, controls/myController/action.php
--- file 1
require_once 'Base_Thing.php';
class myController extends Base_Thing
{
// balh balh blahh
}
--- file 2
require_once 'controls/myController.php';
class myController_action extends myController
{
// balh blah blah
}