\Api

Implements the REST-Like API bus.

Summary

Methods
Properties
Constants
singleton()
factory()
applicationExists()
isActive()
getActiveApp()
getHttpRequestMethod()
getApp()
decrypt()
encrypt()
code()
No public properties found
GET
POST
PUT
DELETE
PATCH
No protected methods found
No protected properties found
N/A
__construct()
$api
$active
$applications
N/A

Constants

GET

GET

POST

POST

PUT

PUT

DELETE

DELETE

PATCH

PATCH

Properties

$api

$api : 

Type

$active

$active : 

Type

$applications

$applications : 

Type

Methods

singleton()

singleton() 

factory()

factory(  $drive,   $array) 

Parameters

$drive
$array

applicationExists()

applicationExists(  $app) 

Parameters

$app

isActive()

isActive() 

getActiveApp()

getActiveApp() 

getHttpRequestMethod()

getHttpRequestMethod() 

getApp()

getApp(  $name = FALSE) 

Parameters

$name

decrypt()

decrypt(  $input,   $key) 

Parameters

$input
$key

encrypt()

encrypt(  $input,   $key) 

Parameters

$input
$key

code()

code(  $code) 

Parameters

$code

__construct()

__construct()