PHP Класс Zend\Mvc\View\Http\CreateViewModelListener

Наследование: extends Zend\EventManager\AbstractListenerAggregate
Показать файл Открыть проект

Открытые методы

Метод Описание
attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) {@inheritDoc}
createViewModelFromArray ( MvcEvent $e ) : void Inspect the result, and cast it to a ViewModel if an assoc array is detected
createViewModelFromNull ( MvcEvent $e ) : void Inspect the result, and cast it to a ViewModel if null is detected

Описание методов

attach() публичный Метод

{@inheritDoc}
public attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 )
$events Zend\EventManager\EventManagerInterface

createViewModelFromArray() публичный Метод

Inspect the result, and cast it to a ViewModel if an assoc array is detected
public createViewModelFromArray ( MvcEvent $e ) : void
$e Zend\Mvc\MvcEvent
Результат void

createViewModelFromNull() публичный Метод

Inspect the result, and cast it to a ViewModel if null is detected
public createViewModelFromNull ( MvcEvent $e ) : void
$e Zend\Mvc\MvcEvent
Результат void