include/SugarLicensing/SugarLicensing.php

Show: inherited
Table of Contents

\SugarLicensing

Package:

Properties

Propertyprotectedresource  $_curl= ''

Details
Type
resource
Propertyprotected  $_server= '"http://authenticate.sugarcrm.com"'
Default value"http://authenticate.sugarcrm.com"Details
Type
n/a

Methods

methodpublic__construct( ) : void

Constructor Method with Curl URL

methodpublic__destruct( ) : void

Destructor Method This will clear out the curl connect if it's still alive.

methodprivate_reqeust( ) : mixed

Run the curl exec

Returns
Type Description
mixed
methodpublicconnect( ) : \void;

Start the Curl Connection Process and create the curl object so it's ready for a connection

Returns
Type Description
\void;
methodpublicdisconnect( ) : void

Disconnect from curl if an object already exists

methodpublicisConnected( ) : bool

Test if curl is setup and ready for a connection

Returns
Type Description
bool
methodpublicrequest(  $endpoint,  $payload ) : array

Make a request to the end point on the licensing server

Parameters
Name Type Description
$endpoint
$payload
Returns
Type Description
array
Documentation was generated by DocBlox 0.18.1.