Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Zend Server Interview Question:
How to write a program to show the function of action helper?
Submitted by: Administrator- Action helper is used to create the application and instantiate the object of it using the Zend_View.
- The object is used and stored using the ViewRenderer's property that creates an instance and provides more options.
- It includes the dispatch process before any action is being dispatched from the view and the example code is given as:
if (!isset($viewRenderer->view)) {
$viewRenderer->initView();
}
$view = $viewRenderer->view;
Submitted by: Administrator
- The object is used and stored using the ViewRenderer's property that creates an instance and provides more options.
- It includes the dispatch process before any action is being dispatched from the view and the example code is given as:
if (!isset($viewRenderer->view)) {
$viewRenderer->initView();
}
$view = $viewRenderer->view;
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.