t3lib_exec Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 checkCommand ($cmd, $handler='')
 getCommand ($cmd, $handler='', $handlerOpt='')
 addPaths ($paths)
 getPaths ($addInvalid=false)
 _init ()
 _initPaths ($paths='')
 _getConfiguredApps ()
 _getPaths ()
 _fixPath ($path)

Dokumentation der Elementfunktionen

t3lib_exec::_fixPath ( path  ) 

Set a path to the right format

Parameter:
string Input path
Rückgabe:
string Output path
t3lib_exec::_getConfiguredApps (  ) 

Processes and returns the paths from $TYPO3_CONF_VARS['SYS']['binSetup']

Rückgabe:
array Array of commands and path
t3lib_exec::_getPaths (  ) 

Set the search paths from different sources, internal

Rückgabe:
array Array of absolute paths (keys and values are equal)
t3lib_exec::_init (  ) 

Initialization, internal

Rückgabe:
void
t3lib_exec::_initPaths ( paths = ''  ) 

Init and extend the preset paths with own

Parameter:
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).
Rückgabe:
void
t3lib_exec::addPaths ( paths  ) 

Extend the preset paths. This way an extension can install an executable and provide the path to t3lib_exec.

Parameter:
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).
Rückgabe:
void
t3lib_exec::checkCommand ( cmd,
handler = '' 
)

Checks if a command is valid or not updates global vars

Parameter:
string the command that should be executed. eg: "convert"
string executer for the command. eg: "perl"
Rückgabe:
boolean false if cmd is not found, or -1 if the handler is not found
t3lib_exec::getCommand ( cmd,
handler = '',
handlerOpt = '' 
)

Returns a command string for exec(), system()

Parameter:
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"
Rückgabe:
mixed returns command string, or false if cmd is not found, or -1 if the handler is not found
t3lib_exec::getPaths ( addInvalid = false  ) 

Returns an array of search paths

Parameter:
boolean If set the array contains invalid path too. Then the key is the path and the value is empty
Rückgabe:
array Array of search paths (empty if exec is disabled)

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:23 2009 für Typo3 von  doxygen 1.6.1