Write a program to show the function of action helper?
Answer Posted / Shekhar Kumar
"Here's an example in Zend Framework to create and use an Action Helper:n$helper = new Application_Helper_MyHelper(); // Define your helper class first.n$view = $this->getHelper('view'); // Access the view helper from within an action.n$view->myFunction($arg1, $arg2); // Call the function defined in MyHelper."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers