All pastes #89251 Raw Edit

Unnamed

public text v1 · immutable
#89251 ·published 2006-07-16 00:50 UTC
rendered paste body
Path: 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
}