\WebinoDraw\View\StrategyAbstractDrawAjaxStrategy

Draw matched containers and return the JSON XHTML of matched fragments

Summary

Methods
Properties
Constants
__construct()
attach()
shouldRespond()
collectModelVariables()
getEvent()
setEvent()
createContainer()
injectResponse()
No public properties found
No constants found
respond()
$draw
$event
$eventIdentifier
N/A
No private methods found
No private properties found
N/A

Properties

$eventIdentifier

$eventIdentifier : string

Type

string

Methods

attach()

attach(\Zend\EventManager\EventManagerInterface  $events, integer  $priority = 1) 

Parameters

\Zend\EventManager\EventManagerInterface $events
integer $priority

shouldRespond()

shouldRespond(\Zend\View\ViewEvent  $event) : boolean

Parameters

\Zend\View\ViewEvent $event

Returns

boolean

collectModelVariables()

collectModelVariables(\Zend\View\Model\ViewModel  $model) : array

Collect all variables from the view model

Parameters

\Zend\View\Model\ViewModel $model

Returns

array

createContainer()

createContainer(\WebinoDraw\Dom\Document  $dom, string  $xpath) : string

Return XHTML of nodes matched by XPath

Parameters

\WebinoDraw\Dom\Document $dom
string $xpath

Returns

string —

XHTML

injectResponse()

injectResponse(\Zend\View\ViewEvent  $event) 

Parameters

\Zend\View\ViewEvent $event