Documentation

Router extends RouterBase
in package

Table of Contents

Constants

APAGAR  = "apagar"
API_TOKEN  = "api_token"
CADASTRAR  = "cadastrar"
CONSULTOR  = "consultor"
EDITAR  = "editar"
ESPECIAL  = "especial"
LOGADO_LIBERAR  = "logado_liberar"
MOBILE_TOKEN  = "mobile_token"
SEMPRE_LIBERAR  = "sempre_liberar"
VISUALIZAR  = "visualizar"

Properties

$routes  : mixed

Methods

delete()  : mixed
get()  : mixed
getEntryFunction()  : mixed
getSecurityActionsByRoute()  : mixed
getSecurityRoutes()  : mixed
handle_cross_origin()  : mixed
isAValidAction()  : mixed
This function is called from tests to check the routes consistencies
options()  : mixed
post()  : mixed
put()  : mixed
run()  : mixed
get_class_constants()  : mixed

Constants

APAGAR

public mixed APAGAR = "apagar"

API_TOKEN

public mixed API_TOKEN = "api_token"

CADASTRAR

public mixed CADASTRAR = "cadastrar"

CONSULTOR

public mixed CONSULTOR = "consultor"

EDITAR

public mixed EDITAR = "editar"

ESPECIAL

public mixed ESPECIAL = "especial"

LOGADO_LIBERAR

public mixed LOGADO_LIBERAR = "logado_liberar"

MOBILE_TOKEN

public mixed MOBILE_TOKEN = "mobile_token"

SEMPRE_LIBERAR

public mixed SEMPRE_LIBERAR = "sempre_liberar"

VISUALIZAR

public mixed VISUALIZAR = "visualizar"

Properties

Methods

delete()

public delete(mixed $endpoint, mixed $trigger) : mixed
Parameters
$endpoint : mixed
$trigger : mixed

get()

public get(mixed $endpoint, mixed $trigger[, mixed $security_action = null ]) : mixed
Parameters
$endpoint : mixed
$trigger : mixed
$security_action : mixed = null

getEntryFunction()

public static getEntryFunction() : mixed

getSecurityActionsByRoute()

public getSecurityActionsByRoute(mixed $route) : mixed
Parameters
$route : mixed

getSecurityRoutes()

public static getSecurityRoutes() : mixed

handle_cross_origin()

public handle_cross_origin() : mixed

isAValidAction()

This function is called from tests to check the routes consistencies

public static isAValidAction(mixed $action) : mixed
Parameters
$action : mixed

options()

public options(mixed $endpoint, mixed $trigger[, mixed $security_action = null ]) : mixed
Parameters
$endpoint : mixed
$trigger : mixed
$security_action : mixed = null

post()

public post(mixed $endpoint, mixed $trigger[, mixed $security_action = null ]) : mixed
Parameters
$endpoint : mixed
$trigger : mixed
$security_action : mixed = null

put()

public put(mixed $endpoint, mixed $trigger) : mixed
Parameters
$endpoint : mixed
$trigger : mixed

run()

public run(mixed $routes) : mixed
Parameters
$routes : mixed

get_class_constants()

private static get_class_constants() : mixed

        
On this page

Search results