Class AYAH
Direct known subclasses
Located at helpers/areyouahuman/lib/AYAH/AYAH.php
Methods summary
public
|
#
__construct( string $publisherKey, string $scoringKey, string $webServiceHost = 'ws.areyouahuman.com' )
Constructs a new AYAH instance and grabs the session secret if it exists. |
public
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
#
recordConversion( )
Records a conversion Called on the goal page that A and B redirect to A/B Testing Specific Function |
protected
|
#
doHttpsPostReturnJSONArray( mixed $hostname, mixed $path, mixed $fields )
Do an HTTPS POST, return some JSON decoded as array. |
protected
Ambigous
|
#
doHttpsPost( string $hostname, string $path, array $fields )
Initiate a request to the AYAH web service through curl or using a socket if the system does not have curl available. |
Magic methods summary
Properties summary
protected
string
|
$publisherKey |
#
The developer publisher key. |
protected
string
|
$scoringKey |
#
The developer scoring key. |
protected
string
|
$webService |
#
The webservice url to use in validating AYAH requests. |
protected
string
|
$sessionSecret |
#
A session secret to be used in determining which AYAH request the library is dealing with. |
protected
string
|
$version |