mvcViewHelper

mvcViewHelper is an abstract class to be used for creating helper objects in the view system. Implementation is similar to Zend_View_Helper in that you extend this class to your helper, and then create a method named after what you want the helper to do. The class should then be named mvcViewHelperMethodName - capitalising the first letter of the method name.

Helpers are then used directly from the view object in the template. Parameters are passed through to the method.


Methods

public getView()

Returns $_View

public setView($inView)

Set $_View to $inView

public render()

Will render the helper out of context

<  1  >