Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #390 from MidnightDesign/patch-1
Browse files Browse the repository at this point in the history
Updated custom view helper config snippet
  • Loading branch information
Freeaqingme committed Oct 13, 2012
2 parents 94d9597 + 2b96f79 commit 052dd2a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/languages/en/modules/zend.view.helpers.rst
Expand Up @@ -140,14 +140,12 @@ Within an MVC application, you will typically simply pass a map of plugins to th
// From within a configuration file // From within a configuration file
return array( return array(
'di' => array('instance' => array( 'view_helpers' => array(
'Zend\View\HelperLoader' => array('parameters' => array( 'invokables' => array(
'map' => array( 'lowercase' => 'My\Helper\LowerCase',
'lowercase' => 'My\Helper\LowerCase', 'uppercase' => 'My\Helper\UpperCase',
'uppercase' => 'My\Helper\UpperCase', ),
), ),
)),
)),
); );
The above can be done in each module that needs to register helpers with the ``PhpRenderer``; however, be aware The above can be done in each module that needs to register helpers with the ``PhpRenderer``; however, be aware
Expand Down

0 comments on commit 052dd2a

Please sign in to comment.