SERVICE
SERVICE
Draw helper service name
Draw helper used for prepend relative URL with basePath
$cache : \WebinoDraw\Cache\DrawCache
$event : \WebinoDraw\Event\DrawEvent
$manipulator : \WebinoDraw\Manipulator\Manipulator
$varTranslator : \WebinoDraw\VarTranslator\VarTranslator
$varTranslation : \WebinoDraw\VarTranslator\Translation
__invoke(\WebinoDraw\Dom\NodeList $nodes, array $spec)
\WebinoDraw\Dom\NodeList | $nodes | Matched DOM nodes |
array | $spec |
getCache() : \WebinoDraw\Cache\DrawCache
setCache(\WebinoDraw\Cache\DrawCache $cache) : $this
\WebinoDraw\Cache\DrawCache | $cache |
getEvent() : \WebinoDraw\Event\DrawEvent
setEvent(\WebinoDraw\Event\DrawEvent $event) : $this
\WebinoDraw\Event\DrawEvent | $event |
getManipulator() : \WebinoDraw\Manipulator\Manipulator
setManipulator(\WebinoDraw\Manipulator\Manipulator $manipulator) : $this
\WebinoDraw\Manipulator\Manipulator | $manipulator |
setVarTranslator(\WebinoDraw\VarTranslator\VarTranslator $varTranslator) : $this
\WebinoDraw\VarTranslator\VarTranslator | $varTranslator |
getVarTranslator() : \WebinoDraw\VarTranslator\VarTranslator
getVarTranslation() : \WebinoDraw\VarTranslator\Translation
ArrayAccess
translateValue(string $value, \WebinoDraw\VarTranslator\Translation $varTranslation, array $spec) : string
string | $value | |
\WebinoDraw\VarTranslator\Translation | $varTranslation | |
array | $spec |
drawNodes(\WebinoDraw\Dom\NodeList $nodes, array $spec) : void
Provides manipulation over DOM elements
\WebinoDraw\Dom\NodeList | $nodes | Matched DOM nodes |
array | $spec |
manipulateNodes(\WebinoDraw\Dom\NodeList $nodes, array $spec, \ArrayAccess $translation) : $this
Manipulate nodes
\WebinoDraw\Dom\NodeList | $nodes | |
array | $spec | |
\ArrayAccess | $translation |
trigger(array $triggers, \WebinoDraw\Event\DrawEvent $event) : $this
array | $triggers | |
\WebinoDraw\Event\DrawEvent | $event |