\JCORE\SERVICE\CRONCLI_HARNESS

Class CLI

Summary

Methods
Properties
Constants
__construct()
init()
lastJob()
logJob()
updateLogJob()
runJobs()
$serviceResponse
$error
$optionsDefault
$options
$TYPE
$SUB_TYPE
$JOBLIST
No constants found
No protected methods found
$serviceRequest
$logTable
N/A
No private methods found
No private properties found
N/A

Properties

$serviceResponse

$serviceResponse : string

error

Type

string

$error

$error : string

error

Type

string

$optionsDefault

$optionsDefault : string

optionsDefault

Type

string

$options

$options : string

options

Type

string

$TYPE

$TYPE : string

TYPE

Type

string

$SUB_TYPE

$SUB_TYPE : string

SUB_TYPE

Type

string

$JOBLIST

$JOBLIST : array

JOBLIST

Type

array

$serviceRequest

$serviceRequest : string

serviceRequest

Type

string

$logTable

$logTable : string

logTable

Type

string

Methods

__construct()

__construct(  $DSN = null) : null

DESCRIPTOR: an empty constructor, the service MUST be called with the service name and the service method name specified in the in the method property of the JSONRPC request in this format ""method":"AJAX_STUB.aServiceMethod"

Parameters

$DSN

Returns

null

init()

init(  $args = null) : null

initialize the harness

Parameters

$args

Returns

null

lastJob()

lastJob(  $params = null) : null

DESCRIPTOR: lastJob lookup the last job

Parameters

$params

Returns

null

logJob()

logJob(  $params = null) : null

DESCRIPTOR: logJob do the audit trail thing

Parameters

$params

Returns

null

updateLogJob()

updateLogJob(  $params = null) : null

DESCRIPTOR: updateLogJob mark the job as and when complete

Parameters

$params

Returns

null

runJobs()

runJobs(  $params = null) : null

DESCRIPTOR: runJobs look for a job list and run if not empty

Parameters

$params

Returns

null