Apply for Zend Framework Certification Training

Zend Framework 1




IN bootstrap.php need to write code

<?php

class Default_Bootstrap extends Zend_Application_Module_Bootstrap {

    protected function _initRoutes() {
        $router = Zend_Controller_Front::getInstance()->getRouter();
        $route = new Zend_Controller_Router_Route(
                'p/vigil-mechanism', array(
            'module' => 'default',
            'controller' => 'index',
            'action' => 'index'));
        $router->addRoute('vigil-mechanismRoute', $route);
	$route = new Zend_Controller_Router_Route(
                ':circleName/prepaid/:slug', array(
            'module' => 'default',
            'controller' => 'prepaid',
            'action' => 'productlist'
        ));
        $router->addRoute('localprepaid', $route);

        return $router;
    }

}

?>                                    

< last insert id in zend1 Multiple Db Used In Zend1 >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top