PHP Class DataSift_Push_LogEntry

Author: Stuart Dallas ([email protected])
Show file Open project: datasift/datasift-php

Public Methods

Method Description
__construct ( $data_or_subscription_id = false, $request_time = false, $success = null, $message = '' ) Construct an instance from the data in an array.
getMessage ( ) : string Get the log message.
getRequestTime ( ) : integer Get the request time.
getSubscriptionId ( ) : string Get the subscription ID.
getSuccess ( ) : boolean Get whether this entry is reporting a successful action.

Method Details

__construct() public method

Construct an instance from the data in an array.
public __construct ( $data_or_subscription_id = false, $request_time = false, $success = null, $message = '' )

getMessage() public method

Get the log message.
public getMessage ( ) : string
return string

getRequestTime() public method

Get the request time.
public getRequestTime ( ) : integer
return integer

getSubscriptionId() public method

Get the subscription ID.
public getSubscriptionId ( ) : string
return string

getSuccess() public method

Get whether this entry is reporting a successful action.
public getSuccess ( ) : boolean
return boolean