Calling direct methods on ZF2 view helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// as in ZF2 there's no more automagical calling of view helpers | |
// things are a changed a bit... | |
$view->broker('helper', array(/*options to pass to the helper*/)); | |
// or | |
$view->broker('helper')->direct(array(/*options to pass to the helper*/)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment