Метод | Описание | |
---|---|---|
__construct ( ) | ||
_canExecScripts ( ) : boolean | Check whether script execution is enabled. | |
_getLogFileName ( ) : string | Get the embedded server log. | |
_getPluginDirectory ( ) : string | Find the plugin directory. | |
_getScriptDirectory ( ) : string | Find the script directory. | |
_getScriptPath ( $script ) : string | Get platform-specific script name with extension. | |
_runScript ( $script, $log = true, $parameters = '' ) : boolean | Run the given script. | |
isAvailable ( ) : boolean | Check whether an embedded server is installed and we can manipulate it through PHP. | |
isInstalled ( ) : boolean | Check whether the embedded server is installed. | |
isRunning ( ) : boolean | Check whether the embedded server is currently running. | |
start ( ) : boolean | Start the embedded server. | |
stop ( ) : boolean | Stop the embedded server. | |
stopAndWait ( ) : boolean | Stop the embedded server and wait until it actually exited. |
public _canExecScripts ( ) : boolean | ||
Результат | boolean |
public _getLogFileName ( ) : string | ||
Результат | string |
public _getPluginDirectory ( ) : string | ||
Результат | string |
public _getScriptDirectory ( ) : string | ||
Результат | string |
public _getScriptPath ( $script ) : string | ||
$script | string The script name without extension. | |
Результат | string | script name with platform specific extension. |
public _runScript ( $script, $log = true, $parameters = '' ) : boolean | ||
$script | string The script to be executed (without platform specific extension). | |
$log | boolean Whether to log the script execution. Logging is NOT supported on Windows due to locking issues with the log file when being started through 'start /b'. | |
$parameters | string Optional script parameters. | |
Результат | boolean | true if the command executed successfully, otherwise false. |
public isAvailable ( ) : boolean | ||
Результат | boolean |
public isInstalled ( ) : boolean | ||
Результат | boolean |
public stopAndWait ( ) : boolean | ||
Результат | boolean | true if the server stopped, otherwise false. |