'View Helper' Tag

  • Adding Custom View Helper In Zend Framework 2

    September 30, 2012

    Here is example implementation of a custom view helper script. Step 1. Creating Zend Framework 2 Helper. //file : App_folder/module/Module_name/src/Module_name/View/Helper/SayHello.php namespace Application\View\Helper; use Zend\View\Helper\AbstractHelper; class SayHello extends AbstractHelper{ public function __invoke($name = 'Unnamed'){ return “$name , this is Zend Framework 2 View Helper”; } } Step 2. Registering the Zend Framework 2 Helper. //file : […]


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /home/c2kblate/sites/ivangospodinow.com/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048
 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org