helper

Using a helper to autoload inline (javascript file) based on the controller name and action name in Zend Framework

mkdir application/views/helpers/ -p && touch application/views/helpers/LoadInlineJs.php

Vim LoadInlineJs.php, and type in follow code:

English
Subscribe to RSS - helper