Open Journal Systems  3.3.0
PKPCurlHelper Class Reference

Static Public Member Functions

static getCurlObject ($url=null, $useProxySettings=true)
 

Detailed Description

Helper for curl usage.

Definition at line 16 of file PKPCurlHelper.inc.php.

Member Function Documentation

◆ getCurlObject()

static PKPCurlHelper::getCurlObject (   $url = null,
  $useProxySettings = true 
)
static

Retrieve a reference to the specified DAO.

Parameters
string$url(optional) The url that the curl instance is going to be initialised with
bool$useProxySettings(optional: true) True if the proxy settings should be considered
Returns
resource

Definition at line 23 of file PKPCurlHelper.inc.php.

References $application, PKPApplication\get(), and Config\getVar().

Referenced by WebService\_callGetWebService(), WebService\_callPostWebService(), MedraWebservice\_doRequest(), FunctionalDataciteExportTest\checkDoiRegistration(), DOAJExportPlugin\depositXML(), DataciteExportPlugin\depositXML(), CrossRefExportPlugin\depositXML(), and CrossRefExportPlugin\getStatusMessage().


The documentation for this class was generated from the following file: