PHP Класс Phergie_Plugin_Ideone, phergie

Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Plugin_Abstract
Показать файл Открыть проект

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

Метод Описание
onCommandIdeone ( string $language, string $code ) : void Executes a source code sequence in a specified language and returns the result.
onLoad ( ) : void Checks for dependencies.

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

Метод Описание
isError ( array $result ) : boolean Checks a service response for an error, sends a notice to the event source if an error has occurred, and returns whether an error was found.

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

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

Checks a service response for an error, sends a notice to the event source if an error has occurred, and returns whether an error was found.
protected isError ( array $result ) : boolean
$result array Associative array representing the service response
Результат boolean TRUE if an error is found, FALSE otherwise

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

Executes a source code sequence in a specified language and returns the result.
public onCommandIdeone ( string $language, string $code ) : void
$language string Programming language the source code is in
$code string Source code to execute
Результат void

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

Checks for dependencies.
public onLoad ( ) : void
Результат void