All pastes #588546 Raw Edit

Anonymous

public text v1 · immutable
#588546 ·published 2007-06-25 15:51 UTC
rendered paste body
class IndexController extends Zend_Controller_Action
{

	function init()
	{
		$this->initView();
		$this->view->baseUrl = $this->_request->getBaseUrl();
	}
	
	function indexAction()
	{	
		$this->view->title = "index action";
		$this->render();
		
	}
}

class BlogController extends Zend_Controller_Action
{

	function init()
	{
		$this->initView();
		$this->view->baseUrl = $this->_request->getBaseUrl();
	}
	
	function indexAction()
	{	
		$this->view->title = "index action";
		$this->render();
		
	}

	function addAction()
	{

		$this->view->title = "Add Blog Entry";
		$this->render();
	}
}