Home
last modified time | relevance | path

Searched refs:dispatcher (Results 1 – 25 of 46) sorted by relevance

12

/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/
H A DEventDispatcherTest.php24 protected $dispatcher; variable in JMS\\Serializer\\Tests\\Serializer\\EventDispatcher\\EventDispatcherTest
31 $this->dispatcher->addListener('foo', static function () {
36 $this->dispatcher->addListener('bar', static function () {
39 $this->dispatcher->addListener('bar', static function () {
42 $this->dispatcher->addListener('bar', static function () {
48 $this->dispatcher->addListener('baz', static function () {
57 $this->dispatcher->addListener('foo', [$a, 'Foo']);
64 $this->dispatcher->addListener('pre', [$b, 'all']);
179 $this->dispatcher->addSubscriber($subscriber);
187 ], 'listeners', $this->dispatcher);
[all …]
H A DLazyEventDispatcherTest.php25 self::assertFalse($this->dispatcher->hasListeners('foo', 'Foo', 'json'));
26 $this->dispatcher->addListener('foo', ['a', 'foo']);
27 self::assertTrue($this->dispatcher->hasListeners('foo', 'Foo', 'json'));
35 $this->dispatcher->addListener('foo', ['a', 'foo']);
42 $this->dispatcher->addListener('pre', ['b', 'bar'], 'Bar');
43 $this->dispatcher->addListener('pre', ['b', 'foo'], 'Foo');
44 $this->dispatcher->addListener('pre', ['b', 'all']);
46 $b->bar($this->event, 'pre', 'Bar', 'json', $this->dispatcher);
47 $b->all($this->event, 'pre', 'Bar', 'json', $this->dispatcher);
48 $b->foo($this->event, 'pre', 'Foo', 'json', $this->dispatcher);
[all …]
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/ServerProtocolHandler/
H A DServerDispatchHandler.php32 …ssageRequest $message, TokenInterface $token, RequestHandlerInterface $dispatcher, ServerQueue $qu… argument
38 $dispatcher->add($context, $request);
40 $dispatcher->compare($context, $request);
42 $dispatcher->delete($context, $request);
44 $dispatcher->modifyDn($context, $request);
46 $dispatcher->modify($context, $request);
48 $dispatcher->extended($context, $request);
H A DServerBindHandler.php34 …public function handleBind(LdapMessageRequest $message, RequestHandlerInterface $dispatcher, Serve… argument
46 $token = $this->simpleBind($dispatcher, $request);
55 …protected function simpleBind(RequestHandlerInterface $dispatcher, SimpleBindRequest $request): To… argument
57 if (!$dispatcher->bind($request->getUsername(), $request->getPassword())) {
H A DServerRootDseHandler.php37 …ssageRequest $message, TokenInterface $token, RequestHandlerInterface $dispatcher, ServerQueue $qu… argument
61 if ($dispatcher instanceof RootDseHandlerInterface) {
62 $entry = $dispatcher->rootDse(
H A DServerSearchHandler.php35 …ssageRequest $message, TokenInterface $token, RequestHandlerInterface $dispatcher, ServerQueue $qu… argument
46 $entries = $dispatcher->search($context, $request);
H A DBindHandlerInterface.php31 …public function handleBind(LdapMessageRequest $message, RequestHandlerInterface $dispatcher, Serve… argument
H A DServerUnbindHandler.php28 …ssageRequest $message, TokenInterface $token, RequestHandlerInterface $dispatcher, ServerQueue $qu… argument
/plugin/findologicxmlexport/vendor/goetas-webservices/xsd2php-runtime/tests/
H A DXmlSchemaDateHandlerDeserializationTest.php42 $dispatcher = new EventDispatcher();
47 ? $this->initJmsv2($naming, $handlerRegistry, $cons, $dispatcher)
48 : $this->initJmsv1($naming, $handlerRegistry, $cons, $dispatcher)
53 private function initJmsv2($naming, $handlerRegistry, $cons, $dispatcher) argument
58 …r\DeserializationGraphNavigator($metadataFactory, $handlerRegistry, $cons, $accessor, $dispatcher);
61 private function initJmsv1($naming, $handlerRegistry, $cons, $dispatcher) argument
65 return new GraphNavigator($metadataFactory, $handlerRegistry, $cons, $dispatcher);
H A DXmlSchemaDateHandlerSerializationTest.php41 $dispatcher = new EventDispatcher();
45 ? $this->initJmsv2($naming, $handlerRegistry, $cons, $dispatcher)
46 : $this->initJmsv1($naming, $handlerRegistry, $cons, $dispatcher)
51 private function initJmsv2($naming, $handlerRegistry, $cons, $dispatcher) argument
56 …hNavigator\SerializationGraphNavigator($metadataFactory, $handlerRegistry, $accessor, $dispatcher);
59 private function initJmsv1($naming, $handlerRegistry, $cons, $dispatcher) argument
63 return new GraphNavigator($metadataFactory, $handlerRegistry, $cons, $dispatcher);
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/Factory/
H A DSerializationGraphNavigatorFactory.php34 private $dispatcher; variable in JMS\\Serializer\\GraphNavigator\\Factory\\SerializationGraphNavigatorFactory
44 ?EventDispatcherInterface $dispatcher = null, argument
50 $this->dispatcher = $dispatcher ?: new EventDispatcher();
56 …this->metadataFactory, $this->handlerRegistry, $this->accessor, $this->dispatcher, $this->expressi…
H A DDeserializationGraphNavigatorFactory.php37 private $dispatcher; variable in JMS\\Serializer\\GraphNavigator\\Factory\\DeserializationGraphNavigatorFactory
48 ?EventDispatcherInterface $dispatcher = null, argument
55 $this->dispatcher = $dispatcher;
61 …is->handlerRegistry, $this->objectConstructor, $this->accessor, $this->dispatcher, $this->expressi…
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/
H A DDoctrineProxySubscriberTest.php29 private $dispatcher; variable in JMS\\Serializer\\Tests\\Serializer\\EventDispatcher\\Subscriber\\DoctrineProxySubscriberTest
103 …$this->dispatcher->addListener('serializer.pre_serialize', static function () use (&$realClassEven…
108 $this->dispatcher->dispatch('serializer.pre_serialize', get_class($proxy), 'json', $event);
118 …$this->dispatcher->addListener('serializer.pre_serialize', static function (PreSerializeEvent $eve…
123 $this->dispatcher->dispatch('serializer.pre_serialize', get_class($proxy), 'json', $event);
133 $this->dispatcher->dispatch('serializer.pre_serialize', get_class($proxy), 'json', $event);
154 $this->dispatcher = new EventDispatcher();
155 $this->dispatcher->addSubscriber($this->subscriber);
H A DSymfonyValidatorValidatorSubscriberTest.php73 ->configureListeners(static function (EventDispatcher $dispatcher) use ($subscriber) {
74 $dispatcher->addSubscriber($subscriber);
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DGraphNavigatorTest.php31 private $dispatcher; variable in JMS\\Serializer\\Tests\\Serializer\\GraphNavigatorTest
78 …GraphNavigator($this->metadataFactory, $this->handlerRegistry, $this->accessor, $this->dispatcher);
108 …dataFactory, $this->handlerRegistry, $this->objectConstructor, $this->accessor, $this->dispatcher);
121 …$this->dispatcher->addListener('serializer.pre_serialize', static function ($event) use ($typeName…
129 …GraphNavigator($this->metadataFactory, $this->handlerRegistry, $this->accessor, $this->dispatcher);
149 $this->dispatcher = new EventDispatcher();
156 …GraphNavigator($this->metadataFactory, $this->handlerRegistry, $this->accessor, $this->dispatcher);
159 …dataFactory, $this->handlerRegistry, $this->objectConstructor, $this->accessor, $this->dispatcher);
/plugin/findologicxmlexport/vendor/jms/serializer/src/GraphNavigator/
H A DDeserializationGraphNavigator.php56 private $dispatcher; variable in JMS\\Serializer\\GraphNavigator\\DeserializationGraphNavigator
82 ?EventDispatcherInterface $dispatcher = null, argument
85 $this->dispatcher = $dispatcher ?: new EventDispatcher();
146 … if ($this->dispatcher->hasListeners('serializer.pre_deserialize', $type['name'], $this->format)) {
147 …$this->dispatcher->dispatch('serializer.pre_deserialize', $type['name'], $this->format, $event = n…
241 …if ($this->dispatcher->hasListeners('serializer.post_deserialize', $metadata->name, $this->format)…
242 …$this->dispatcher->dispatch('serializer.post_deserialize', $metadata->name, $this->format, new Obj…
H A DSerializationGraphNavigator.php58 private $dispatcher; variable in JMS\\Serializer\\GraphNavigator\\SerializationGraphNavigator
83 ?EventDispatcherInterface $dispatcher = null, argument
86 $this->dispatcher = $dispatcher ?: new EventDispatcher();
183 … if ($this->dispatcher->hasListeners('serializer.pre_serialize', $type['name'], $this->format)) {
184 …$this->dispatcher->dispatch('serializer.pre_serialize', $type['name'], $this->format, $event = new…
253 …if ($this->dispatcher->hasListeners('serializer.post_serialize', $metadata->name, $this->format)) {
254 …$this->dispatcher->dispatch('serializer.post_serialize', $metadata->name, $this->format, new Objec…
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DServerProtocolHandler.php58 protected $dispatcher; variable in FreeDSx\\Ldap\\Protocol\\ServerProtocolHandler
82 RequestHandlerInterface $dispatcher, argument
90 $this->dispatcher = $dispatcher;
164 $this->dispatcher,
219 $this->dispatcher,
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
H A Ddhtmlxgantt_keyboard_navigation.js156 var dispatcher = gantt.$keyboardNavigation.dispatcher;
175 if(dispatcher.$preventDefault){
182 dispatcher.focusGlobalNode();
188 if(!dispatcher.isEnabled())
313 if(dispatcher.isEnabled()){
372 dispatcher.enable();
374 dispatcher.disable();
464 dispatcher.delay(function(){
468 dispatcher.enable();
475 dispatcher.enable();
[all …]
/plugin/html2pdf/html2pdf/html2ps/features/
H A Dwatermark.php23 $dispatcher =& $pipeline->get_dispatcher();
24 $dispatcher->add_observer('after-page', array(&$this, 'handle_after_page'));
H A Dautomargins.php40 $dispatcher =& $pipeline->get_dispatcher();
41 $dispatcher->add_observer('before-page-heights', array(&$this, 'handle_before_page_heights'));
H A Dtoc.php57 $dispatcher =& $pipeline->get_dispatcher();
58 $dispatcher->add_observer('after-parse', array(&$this, 'handle_after_parse'));
59 $dispatcher->add_observer('before-document', array(&$this, 'handle_before_document'));
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Handler/
H A DFormErrorHandlerTest.php41 protected $dispatcher; variable in JMS\\Serializer\\Tests\\Handler\\FormErrorHandlerTest
54 $this->dispatcher = new EventDispatcher();
62 $this->dispatcher = null;
241 * @param EventDispatcherInterface $dispatcher
246 …protected function getBuilder($name = 'name', ?EventDispatcherInterface $dispatcher = null, $dataC… argument
248 return new FormBuilder($name, $dataClass, $dispatcher ?: $this->dispatcher, $this->factory);
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
H A Devent_system.rst38 ->configureListeners(function(JMS\Serializer\EventDispatcher\EventDispatcher $dispatcher) {
39 $dispatcher->addListener('serializer.pre_serialize',
45 $dispatcher->addSubscriber(new MyEventSubscriber());
/plugin/findologicxmlexport/vendor/jms/serializer/src/EventDispatcher/Subscriber/
H A DDoctrineProxySubscriber.php78 …vent, string $eventName, string $class, string $format, EventDispatcherInterface $dispatcher): void argument
94 $dispatcher->dispatch($eventName, $parentClassName, $format, $newEvent);

12