PHP Класс N98\Util\Exec

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
allowed ( ) : boolean Exec class is allowed to run
run ( string $command, string &$output = null, integer &$returnCode = null )

Приватные методы

Метод Описание
parseCommandOutput ( array $commandOutput ) : string string from array of strings representing one line per entry

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

allowed() публичный статический Метод

Exec class is allowed to run
public static allowed ( ) : boolean
Результат boolean

run() публичный статический Метод

public static run ( string $command, string &$output = null, integer &$returnCode = null )
$command string
$output string
$returnCode integer