PHP Класс Swiftriver\Core\Workflows\WorkflowBase

Автор: [email protected]
Показать файл Открыть проект

Открытые методы

Метод Описание
CheckKey ( string $key ) : boolean Checks to see if the API key provided matches the configured API Keys for this Core install

Защищенные методы

Метод Описание
FormatErrorMessage ( string $error ) : string Returns the given error in standard JSON format
FormatMessage ( string $message ) : string Returns the given message in standard JSON format
FormatReturn ( $json )

Описание методов

CheckKey() публичный Метод

Checks to see if the API key provided matches the configured API Keys for this Core install
public CheckKey ( string $key ) : boolean
$key string
Результат boolean

FormatErrorMessage() защищенный Метод

Returns the given error in standard JSON format
protected FormatErrorMessage ( string $error ) : string
$error string
Результат string

FormatMessage() защищенный Метод

Returns the given message in standard JSON format
protected FormatMessage ( string $message ) : string
$message string
Результат string

FormatReturn() защищенный Метод

protected FormatReturn ( $json )