\Pydio\Core\ControllerCliRunner

Class CliRunner

Summary

Methods
Properties
Constants
applyTaskInBackground()
applyActionInBackground()
runCommandInBackground()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

applyTaskInBackground()

applyTaskInBackground(\Pydio\Tasks\Task  $task) 

Apply a Task in background

Parameters

\Pydio\Tasks\Task $task

applyActionInBackground()

applyActionInBackground(\Pydio\Core\Model\ContextInterface  $ctx, String  $actionName, array  $parameters, string  $statusFile = "", string  $taskId = null, string  $impersonateUsers = null) : null|\Pydio\Core\Controller\UnixProcess

Launch a command-line version of the framework by passing the actionName & parameters as arguments.

Parameters

\Pydio\Core\Model\ContextInterface $ctx
String $actionName
array $parameters
string $statusFile
string $taskId
string $impersonateUsers

Returns

null|\Pydio\Core\Controller\UnixProcess

runCommandInBackground()

runCommandInBackground(  $cmd,   $logFile,   $forceLog = false) : \Pydio\Core\Controller\UnixProcess|null

Parameters

$cmd
$logFile
$forceLog

Returns

\Pydio\Core\Controller\UnixProcess|null