[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/task/requests/src/Extension/ -> Requests.php (summary)

(no description)

Copyright: (C) 2021 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 170 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  getSubscribedEvents()
  __construct()
  makeGetRequest()

Functions
Functions that are not part of a class:

getSubscribedEvents()   X-Ref
Returns an array of events this subscriber will listen to.

return: string[]

__construct(DispatcherInterface $dispatcher, array $config, HttpFactory $httpFactory, string $rootDirectory)   X-Ref
Constructor.

param: DispatcherInterface  $dispatcher     The dispatcher
param: array                $config         An optional associative array of configuration settings
param: HttpFactory          $httpFactory    The http factory
param: string               $rootDirectory  The root directory to store the output file in

makeGetRequest(ExecuteTaskEvent $event)   X-Ref
Standard routine method for the get request routine.

param: ExecuteTaskEvent  $event  The onExecuteTask event
return: integer  The exit code



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer