ParseCloud

Class ParseCloud - Facilitates calling Parse Cloud functions.

author

Fosco Marotto [email protected]

package

Parse

Methods

Gets data for the current set of cloud jobs

getJobsData() : array
static

Response

array

Gets job status by id

getJobStatus(string $jobStatusId) : array|\Parse\ParseObject
static

Arguments

$jobStatusId

string

Id of the job status to return

Response

array|\Parse\ParseObject

Makes a call to a Cloud function.

run(string $name, array $data = array(), boolean $useMasterKey = false) : mixed
static

Arguments

$name

string

Cloud function name

$data

array

Parameters to pass

$useMasterKey

boolean

Whether to use the Master Key

Response

mixed

Starts a given cloud job, which will process asynchronously

startJob(string $jobName, array $data = array()) : string
static

Arguments

$jobName

string

Name of job to run

$data

array

Parameters to pass

Response

string

Id for tracking job status