Class CreateViewModelListener

Summary

Fully Qualified Name: Zend\Mvc\View\Http\CreateViewModelListener
Extends: AbstractListenerAggregate

Description

Methods

Name Description Defined By
attach() {@inheritDoc} CreateViewModelListener
createViewModelFromArray() Inspect the result, and cast it to a ViewModel if an assoc array is detected CreateViewModelListener
createViewModelFromNull() Inspect the result, and cast it to a ViewModel if null is detected CreateViewModelListener
detach() {@inheritDoc} AbstractListenerAggregate

Method Details

attach()

{@inheritDoc}

Parameter Name Type Description
$events
$priority

Returns:

createViewModelFromArray()

Inspect the result, and cast it to a ViewModel if an assoc array is detected

Parameter Name Type Description
$e \MvcEvent

Returns: void

createViewModelFromNull()

Inspect the result, and cast it to a ViewModel if null is detected

Parameter Name Type Description
$e \MvcEvent

Returns: void

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

Top