我有Zend indexController
public function init(){
parent::init();
$this->objDebug->check();
$this->objRegister = Register::getHandler();
$this->objMail = Mail::getHandler();
$this->objSession = new Zend_Session_Namespace('register');
}
function indexAction(){
$this->objDebug->check();
$this->view->title = 'Welcome';
}
然后,当我进行索引操作时,我的init和index中的代码相互循环3次。我找不到是什么原因。这是正常的吗?