MIDDAG for Moodle

livehelperchat_service

Table of Contents

Constants

API_PREFIX  = '/restapi/'

Properties

$client  : mixed
$config  : mixed
$url  : mixed

Methods

__construct()  : mixed
send()  : bool
get()  : mixed
patch()  : mixed
post()  : mixed
twilio_create_sms()  : mixed

Constants

Properties

Methods

send()

public static send(mixed $msg, mixed $phone[, mixed $create_chat = true ]) : bool
Parameters
$msg : mixed
$phone : mixed
$create_chat : mixed = true
Return values
bool

get()

protected get(string $endpoint[, mixed $params = [] ]) : mixed
Parameters
$endpoint : string
$params : mixed = []

patch()

protected patch(string $endpoint[, mixed $params = [] ]) : mixed
Parameters
$endpoint : string
$params : mixed = []

post()

protected post(string $endpoint[, mixed $params = [] ]) : mixed
Parameters
$endpoint : string
$params : mixed = []

twilio_create_sms()

protected twilio_create_sms(mixed $params) : mixed
Parameters
$params : mixed

        
On this page

Search results