Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 1513) sorted by relevance

12345678910>>...61

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
DSamplingHandler.php41 protected $handler; variable in Monolog\\Handler\\SamplingHandler
51 …* @param callable|HandlerInterface $handler Handler or factory callable($record|null, $samplingHan…
54 public function __construct($handler, int $factor) argument
57 $this->handler = $handler;
60 if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
61 …throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable…
95 if (!$this->handler instanceof HandlerInterface) {
96 $this->handler = ($this->handler)($record, $this);
97 if (!$this->handler instanceof HandlerInterface) {
102 return $this->handler;
[all …]
DHandlerWrapper.php39 protected $handler; variable in Monolog\\Handler\\HandlerWrapper
41 public function __construct(HandlerInterface $handler) argument
43 $this->handler = $handler;
51 return $this->handler->isHandling($record);
59 return $this->handler->handle($record);
67 $this->handler->handleBatch($records);
75 $this->handler->close();
83 if ($this->handler instanceof ProcessableHandlerInterface) {
84 $this->handler->pushProcessor($callback);
97 if ($this->handler instanceof ProcessableHandlerInterface) {
[all …]
DFilterHandler.php41 protected $handler; variable in Monolog\\Handler\\FilterHandler
61 …* @param callable|HandlerInterface $handler Handler or factory callable($record|null, $filt…
69 …public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGEN… argument
71 $this->handler = $handler;
75 if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
76 …throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable…
166 if (!$this->handler instanceof HandlerInterface) {
167 $this->handler = ($this->handler)($record, $this);
168 if (!$this->handler instanceof HandlerInterface) {
173 return $this->handler;
[all …]
DGroupHandler.php39 foreach ($handlers as $handler) {
40 if (!$handler instanceof HandlerInterface) {
54 foreach ($this->handlers as $handler) {
55 if ($handler->isHandling($record)) {
73 foreach ($this->handlers as $handler) {
74 $handler->handle($record);
94 foreach ($this->handlers as $handler) {
95 $handler->handleBatch($records);
103 foreach ($this->handlers as $handler) {
104 if ($handler instanceof ResettableInterface) {
[all …]
DFingersCrossedHandler.php49 protected $handler; variable in Monolog\\Handler\\FingersCrossedHandler
71 …* @param callable|HandlerInterface $handler Handler or factory callable($r…
81 …public function __construct($handler, $activationStrategy = null, int $bufferSize = 0, bool $bubbl… argument
92 $this->handler = $handler;
102 if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
103 …throw new \RuntimeException("The given handler (".json_encode($this->handler).") is not a callable…
215 if (!$this->handler instanceof HandlerInterface) {
216 $this->handler = ($this->handler)($record, $this);
217 if (!$this->handler instanceof HandlerInterface) {
222 return $this->handler;
[all …]
DBufferHandler.php33 protected $handler; variable in Monolog\\Handler\\BufferHandler
46 * @param HandlerInterface $handler Handler.
50 …public function __construct(HandlerInterface $handler, int $bufferLimit = 0, $level = Logger::DEBU… argument
53 $this->handler = $handler;
99 $this->handler->handleBatch($this->buffer);
117 $this->handler->close();
137 if ($this->handler instanceof ResettableInterface) {
138 $this->handler->reset();
147 if ($this->handler instanceof FormattableHandlerInterface) {
148 $this->handler->setFormatter($formatter);
[all …]
DOverflowHandler.php40 private $handler; variable in Monolog\\Handler\\OverflowHandler
62 * @param HandlerInterface $handler
66 HandlerInterface $handler, argument
71 $this->handler = $handler;
113 $this->handler->handle($buffered);
119 $this->handler->handle($record);
129 if ($this->handler instanceof FormattableHandlerInterface) {
130 $this->handler->setFormatter($formatter);
135 …throw new \UnexpectedValueException('The nested handler of type '.get_class($this->handler).' does…
143 if ($this->handler instanceof FormattableHandlerInterface) {
[all …]
/plugin/creole/syntax/
Dtable.php45 function handle($match, $state, $pos, Doku_Handler $handler) { argument
48 $this->eventhandler->notifyEvent('open', 'table', NULL, $pos, $match, $handler);
49 $ReWriter = new Table($handler->getCallWriter());
50 $handler->setCallWriter($ReWriter);
52 $handler->addCall('table_start', array(), $pos);
54 $handler->addCall('tableheader', array(), $pos);
56 $handler->addCall('tablecell', array(), $pos);
61 $this->eventhandler->notifyEvent('close', 'table', NULL, $pos, $match, $handler);
62 $handler->addCall('table_end', array(), $pos);
63 $handler->getCallWriter()->process();
[all …]
Dmonospace.php46 function handle($match, $state, $pos, Doku_Handler $handler) { argument
58 … $this->eventhandler->notifyEvent('open', 'monospace', 'dw-monospace', $pos, $match, $handler);
59 $handler->addCall('monospace_open', array(), $pos);
61 … $this->eventhandler->notifyEvent('open', 'monospace', 'creole-monospace', $pos, $match, $handler);
66 $handler->addCall('cdata', array($match), $pos);
70 … $this->eventhandler->notifyEvent('close', 'monospace', 'dw-monospace', $pos, $match, $handler);
71 $handler->addCall('monospace_close', array(), $pos);
73 …$this->eventhandler->notifyEvent('close', 'monospace', 'creole-monospace', $pos, $match, $handler);
94 public function onHeaderCallback (creole_syntax_event $myEvent, $pos, $match, $handler) { argument
95 … $this->eventhandler->notifyEvent('close', 'monospace', 'dw-monospace', $pos, $match, $handler);
[all …]
Dlistblock.php52 function handle($match, $state, $pos, Doku_Handler $handler) { argument
55 $this->eventhandler->notifyEvent('open', 'list', NULL, $pos, $match, $handler);
56 $ReWriter = new Doku_Handler_Creole_List($handler->getCallWriter());
57 $handler->setCallWriter($ReWriter);
58 $handler->addCall('list_open', array($match), $pos);
61 $this->eventhandler->notifyEvent('close', 'list', NULL, $pos, $match, $handler);
62 $handler->addCall('list_close', array(), $pos);
63 $ReWriter = $handler->getCallWriter();
65 $handler->setCallWriter($ReWriter->getCallWriter());
68 $handler->addCall('list_item', array($match), $pos);
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/
DMiddleware.php26 return function (callable $handler) {
27 return function ($request, array $options) use ($handler) {
29 return $handler($request, $options);
35 return $handler($request, $options)
54 return function (callable $handler) {
55 return function ($request, array $options) use ($handler) {
57 return $handler($request, $options);
59 return $handler($request, $options)->then(
86 return function (callable $handler) use (&$container) {
87 return function ($request, array $options) use ($handler, &$container) {
[all …]
DHandlerStack.php15 private $handler; variable in GuzzleHttp\\HandlerStack
34 * @param callable $handler HTTP handler function to use with the stack. If no
40 public static function create(callable $handler = null) argument
42 $stack = new self($handler ?: choose_handler());
52 * @param callable $handler Underlying HTTP handler.
54 public function __construct(callable $handler = null) argument
56 $this->handler = $handler;
69 $handler = $this->resolve();
71 return $handler($request, $options);
83 if ($this->handler) {
[all …]
/plugin/matrixnotifierwas/vendor/meet-kinksters/php-matrix-sdk/tests/
DMatrixHttpApiTest.php67 $this->api->setClient(new Client(['handler' => $handler]));
80 $this->api->setClient(new Client(['handler' => $handler]));
94 $this->api->setClient(new Client(['handler' => $handler]));
111 $this->api->setClient(new Client(['handler' => $handler]));
125 $handler = $this->getMockClientHandler([new Response(200, [], '{}')], $container);
126 $this->api->setClient(new Client(['handler' => $handler]));
143 $this->api->setClient(new Client(['handler' => $handler]));
160 $this->api->setClient(new Client(['handler' => $handler]));
174 $this->api->setClient(new Client(['handler' => $handler]));
188 $this->api->setClient(new Client(['handler' => $handler]));
[all …]
/plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/
DMiddleware.php28 return static function (callable $handler): callable {
29 return static function ($request, array $options) use ($handler) {
31 return $handler($request, $options);
38 return $handler($request, $options)
60 return static function (callable $handler) use ($bodySummarizer): callable {
61 return static function ($request, array $options) use ($handler, $bodySummarizer) {
63 return $handler($request, $options);
66 return $handler($request, $options)->then(
94 return static function (callable $handler) use (&$container): callable {
95 … return static function (RequestInterface $request, array $options) use ($handler, &$container) {
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dhtml.attrs.inc.php182 $handler =& CSS::get_handler(CSS_HTML2PS_LINK_DESTINATION);
183 $handler->css($root->get_attribute('name'), $pipeline);
190 $handler =& CSS::get_handler(CSS_HTML2PS_LINK_DESTINATION);
191 $handler->css($root->get_attribute('id'), $pipeline);
199 $handler =& CSS::get_handler(CSS_HTML2PS_LINK_TARGET);
200 $handler->css($root->get_attribute('href'), $pipeline);
208 $handler =& CSS::get_handler(CSS_BORDER);
212 $handler->css('inset black 1px', $pipeline);
215 $handler->css('none', $pipeline);
223 $handler =& CSS::get_handler(CSS_PADDING_TOP);
[all …]
Dpdf.fpdf.php93 * @param FPDF $handler PDF file wrapper (FPDF object)
100 function out(&$handler) { argument
101 if (!$handler->is_object_written($this->get_object_id())) {
102 $handler->offsets[$this->get_object_id()] = strlen($handler->buffer);
103 $handler->_out($handler->_indirect_object($this));
105 $this->_out_nested($handler);
113 * @param FPDF $handler PDF file wrapper (FPDF object)
117 function _out_nested(&$handler) { argument
121 function PDFIndirectObject(&$handler, argument
128 function pdf(&$handler) { argument
[all …]
Dcss.inc.php15 foreach ($handlers as $property => $handler) {
16 $this->_defaultState[$property] = $handler->default_value();
28 foreach ($handlers as $property => $handler) {
43 foreach ($this->_handlers as $property => $handler) {
44 if ($handler->isInheritableText()) {
56 foreach ($this->_handlers as $property => $handler) {
57 if ($handler->isInheritable()) {
83 $handler =& $css->_get_handler($property);
84 $value = $handler->default_value();
95 $handler =& $css->_get_handler($property);
[all …]
/plugin/authfacebook/lib/HttpClients/
DHttpClientsFactory.php40 * @param FacebookHttpClientInterface|Client|string|null $handler
47 public static function createHttpClient($handler) argument
49 if (!$handler) {
53 if ($handler instanceof FacebookHttpClientInterface) {
54 return $handler;
57 if ('stream' === $handler) {
60 if ('curl' === $handler) {
68 if ('guzzle' === $handler && !class_exists('GuzzleHttp\Client')) {
72 if ($handler instanceof Client) {
73 return new FacebookGuzzleHttpClient($handler);
[all …]
/plugin/numberedheadings/
Dsyntax.php73 public function handle($match, $state, $pos, Doku_Handler $handler) argument
139 … if ($this->getSectionState($handler)) $this->addCall($handler, 'section_close', [], $pos);
142 $handler->addPluginCall(substr(get_class($this), 14), $data, $state, $pos, $match);
143 $this->addCall($handler, 'section_open', [$level], $pos);
144 $this->setSectionState($handler, true);
164 private function addCall(Doku_Handler $handler, $method, $args, $pos) argument
166 if (method_exists($handler, 'addCall')) {
168 $handler->addCall($method, $args, $pos);
171 $handler->_addCall($method, $args, $pos);
176 private function getSectionstate(Doku_Handler $handler) argument
[all …]
/plugin/components/lib/
Daction_manager.php23 private $handler = NULL; variable in Doku_Action_Manager
39 $handler = new $class;
40 return ($handler->action() != $action) ? NULL : $handler;
57 $handler = NULL;
60 if (!$handler) {
61 $handler = $new;
65 if (is_subclass_of($new, get_class($handler)))
66 $handler = $new;
67 else if (!is_subclass_of($handler, get_class($new)))
68 throw new ConflictActionException($handler, $new);
[all …]
/plugin/extlist/
Dsyntax.php219 protected function _writeCall($tag, $attr, $state, $pos, $match, $handler) argument
221 $handler->addPluginCall($this->getPluginName(),
230 private function _openList($m, $pos, $match, $handler) argument
251 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
257 private function _closeList($m, $pos, $match, $handler) argument
263 $this->_writeCall($tag,'',DOKU_LEXER_EXIT, $pos,$match,$handler);
269 private function _openItem($m, $pos, $match, $handler) argument
287 $this->_writeCall($tag,$attr,DOKU_LEXER_ENTER, $pos,$match,$handler);
293 private function _closeItem($m, $pos, $match, $handler) argument
296 $this->_writeCall($tag,'',DOKU_LEXER_EXIT, $pos,$match,$handler);
[all …]
/plugin/calendoku/syntax/
Dshowtable.php31 function handle($match, $state, $pos, &$handler) { argument
126 $this->startCalendar($pos, $handler);
129 $this->addEntryCalendar($component[0], $component[1], $pos, $handler);
132 $this->endCalendar($pos, $handler);
135 function startCalendar($pos, &$handler) { argument
137 $handler->_addCall('table_open', array(), $pos);
138 $handler->_addCall('tablerow_open', array(), $pos);
140 $handler->_addCall('tableheader_open', array(), $pos);
141 reHandleText($fielddesc, $pos, $handler);
142 $handler->_addCall('tableheader_close', array(), $pos);
[all …]
/plugin/markdowku/
Dcodeblocks.php35 function handle($match, $state, $pos, Doku_Handler $handler) { argument
38 $ReWriter = new Preformatted($handler->getCallWriter());
39 $handler->setCallWriter($ReWriter);
40 $handler->_addCall('preformatted_start', array($match), $pos);
43 $handler->_addCall('preformatted_newline', array($match), $pos);
46 $handler->_addCall('preformatted_content', array($match), $pos);
49 $handler->_addCall('preformatted_end', array(), $pos);
50 $handler->_addCall('preformatted_content', array($match), $pos);
51 $handler->getCallWriter()->process();
52 $ReWriter = & $handler->getCallWriter();
[all …]
Dblockquotes.php50 function handle($match, $state, $pos, Doku_Handler $handler) { argument
57 $ReWriter = new Doku_Handler_Markdown_Quote($handler->getCallWriter());
58 $handler->setCallWriter($ReWriter);
59 $handler->_addCall('quote_start', $quotearg, $pos);
61 $handler->_addCall('quote_end', array(), $pos);
62 $handler->getCallWriter()->process();
63 $ReWriter = & $handler->getCallWriter();
64 $handler->setCallWriter($ReWriter->getCallWriter());
68 $handler->_addCall('quote_newline', $quotearg, $pos);
72 $plugin->handle($quoteinarg, $state, $pos, $handler);
[all …]
/plugin/siteexport/syntax/
Dtoctools.php43 private function findPreviousSectionOpen( Doku_Handler $handler ) { argument
44 foreach( array_reverse( $handler->calls ) as $calls ) {
52 …private function addInstructionstoHandler( $match, $state, $pos, Doku_Handler $handler, $instructi… argument
55 …if ( ( method_exists( $handler, 'getStatus') && $handler->getStatus('section') ) || $handler->stat…
56 $handler->_addCall('section_close', array(), $pos);
60 $level = $this->findPreviousSectionOpen( $handler );
61 $handler->_addCall('plugin', array('siteexport_toctools', $instructions, $state), $pos);
62 $handler->_addCall('section_open', array($level), $pos+strlen($match) );
68 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
74 …$this->addInstructionstoHandler( $match, $state, $pos, $handler, array('mergehint', 'start', $data…
[all …]

12345678910>>...61