Parse PHP SDK API Reference

ParseHooks
in package

Class ParseHooks - Representation of a Parse Hooks object.

Tags
author

Phelipe Alves [email protected]

Table of Contents

createFunction()  : array<string|int, mixed>
Create a new function webhook.
createTrigger()  : array<string|int, mixed>
Create a new trigger webhook.
deleteFunction()  : array<string|int, mixed>
Delete a function webhook.
deleteTrigger()  : array<string|int, mixed>
Delete a trigger webhook.
editFunction()  : array<string|int, mixed>
Edit the url of a function webhook that was already created.
editTrigger()  : array<string|int, mixed>
Edit the url of a trigger webhook that was already crated.
fetchFunction()  : array<string|int, mixed>
Fetch a single cloud function with a given name.
fetchFunctions()  : array<string|int, mixed>
Fetch the list of all cloud functions.
fetchTrigger()  : array<string|int, mixed>
Fetch a single cloud trigger.
fetchTriggers()  : array<string|int, mixed>
Fetch the list of all cloud triggers.

Methods

createFunction()

Create a new function webhook.

public createFunction(string $functionName, string $url) : array<string|int, mixed>
Parameters
$functionName : string
$url : string
Tags
throws
ParseException
Return values
array<string|int, mixed>

createTrigger()

Create a new trigger webhook.

public createTrigger(string $className, string $triggerName, string $url) : array<string|int, mixed>
Parameters
$className : string
$triggerName : string
$url : string
Return values
array<string|int, mixed>

deleteFunction()

Delete a function webhook.

public deleteFunction(string $functionName) : array<string|int, mixed>
Parameters
$functionName : string
Tags
throws
ParseException
Return values
array<string|int, mixed>

deleteTrigger()

Delete a trigger webhook.

public deleteTrigger(string $className, string $triggerName) : array<string|int, mixed>
Parameters
$className : string
$triggerName : string
Return values
array<string|int, mixed>

editFunction()

Edit the url of a function webhook that was already created.

public editFunction(string $functionName, string $url) : array<string|int, mixed>
Parameters
$functionName : string
$url : string
Tags
throws
ParseException
Return values
array<string|int, mixed>

editTrigger()

Edit the url of a trigger webhook that was already crated.

public editTrigger(string $className, string $triggerName, string $url) : array<string|int, mixed>
Parameters
$className : string
$triggerName : string
$url : string
Return values
array<string|int, mixed>

fetchFunction()

Fetch a single cloud function with a given name.

public fetchFunction(string $functionName) : array<string|int, mixed>
Parameters
$functionName : string
Tags
throws
ParseException
Return values
array<string|int, mixed>

fetchFunctions()

Fetch the list of all cloud functions.

public fetchFunctions() : array<string|int, mixed>
Tags
throws
ParseException
Return values
array<string|int, mixed>

fetchTrigger()

Fetch a single cloud trigger.

public fetchTrigger(string $className, string $triggerName) : array<string|int, mixed>
Parameters
$className : string
$triggerName : string
Tags
throws
ParseException
Return values
array<string|int, mixed>

fetchTriggers()

Fetch the list of all cloud triggers.

public fetchTriggers() : array<string|int, mixed>
Tags
throws
ParseException
Return values
array<string|int, mixed>

Search results