|
TYPO3 API
SVNRelease
|
Static Public Member Functions | |
| static | checkCommand ($cmd, $handler= '') |
| static | getCommand ($cmd, $handler= '', $handlerOpt= '') |
| static | addPaths ($paths) |
| static | getPaths ($addInvalid=FALSE) |
Static Protected Member Functions | |
| static | init () |
| static | initPaths ($paths= '') |
| static | getConfiguredApps () |
| static | getPathsInternal () |
| static | fixPath ($path) |
Static Protected Attributes | |
| static | $initialized = FALSE |
| static | $applications = array() |
| static | $paths = NULL |
Definition at line 82 of file class.t3lib_exec.php.
| static t3lib_exec::addPaths | ( | $ | paths | ) | [static] |
Extend the preset paths. This way an extension can install an executable and provide the path to t3lib_exec.
| string | comma separated list of extra paths where a command should be searched. Relative paths (without leading "/") are prepend with site root path (PATH_site). |
Definition at line 215 of file class.t3lib_exec.php.
References $paths, and initPaths().
| static t3lib_exec::checkCommand | ( | $ | cmd, |
| $ | handler = '' |
||
| ) | [static] |
Checks if a command is valid or not, updates global variables
| string | the command that should be executed. eg: "convert" |
| string | executer for the command. eg: "perl" |
Definition at line 112 of file class.t3lib_exec.php.
References t3lib_utility_Command\exec().
Referenced by t3lib_svbase\checkExec(), and t3lib_extMgm\findService().
| static t3lib_exec::fixPath | ( | $ | path | ) | [static, protected] |
Set a path to the right format
| string | Input path |
Definition at line 387 of file class.t3lib_exec.php.
Referenced by getPathsInternal().
| static t3lib_exec::getCommand | ( | $ | cmd, |
| $ | handler = '', |
||
| $ | handlerOpt = '' |
||
| ) | [static] |
Returns a command string for exec(), system()
| string | the command that should be executed. eg: "convert" |
| string | handler (executor) for the command. eg: "perl" |
| string | options for the handler, like '-w' for "perl" |
Definition at line 184 of file class.t3lib_exec.php.
Referenced by tx_rsaauth_cmdline_backend\__construct().
| static t3lib_exec::getConfiguredApps | ( | ) | [static, protected] |
Processes and returns the paths from $GLOBALS['TYPO3_CONF_VARS']['SYS']['binSetup']
Definition at line 312 of file class.t3lib_exec.php.
References $GLOBALS, and t3lib_div\trimExplode().
Referenced by init().
| static t3lib_exec::getPaths | ( | $ | addInvalid = FALSE | ) | [static] |
Returns an array of search paths
| boolean | If set the array contains invalid path too. Then the key is the path and the value is empty |
Definition at line 226 of file class.t3lib_exec.php.
References $paths.
Referenced by tx_sv_reports_ServicesList\renderExecutablesSearchPathList().
| static t3lib_exec::getPathsInternal | ( | ) | [static, protected] |
Sets the search paths from different sources, internal
Definition at line 334 of file class.t3lib_exec.php.
References $GLOBALS, fixPath(), and t3lib_div\trimExplode().
Referenced by initPaths().
| static t3lib_exec::init | ( | ) | [static, protected] |
Initializes this class
Definition at line 249 of file class.t3lib_exec.php.
References $GLOBALS, getConfiguredApps(), and initPaths().
| static t3lib_exec::initPaths | ( | $ | paths = '' | ) | [static, protected] |
Initializes and extends the preset paths with own
| string | Comma seperated list of extra paths where a command should be searched. Relative paths (without leading "/") are prepend with site root path (PATH_site). |
Definition at line 268 of file class.t3lib_exec.php.
References $paths, getPathsInternal(), and t3lib_div\trimExplode().
Referenced by addPaths(), and init().
t3lib_exec::$applications = array() [static, protected] |
Definition at line 96 of file class.t3lib_exec.php.
t3lib_exec::$initialized = FALSE [static, protected] |
Tells if object is already initialized
Definition at line 85 of file class.t3lib_exec.php.
t3lib_exec::$paths = NULL [static, protected] |
Definition at line 103 of file class.t3lib_exec.php.
Referenced by addPaths(), getPaths(), and initPaths().
1.7.5.1