Documentation TYPO3 par Ameos

t3lib_exec Class Reference

List of all members.

Public Member Functions

 checkCommand ($cmd, $handler='')
 getCommand ($cmd, $handler='', $handlerOpt='')
 addPaths ($paths)
 _getPaths ()
 _init ()
 _initPaths ($paths='')
 checkCommand ($cmd, $handler='')
 getCommand ($cmd, $handler='', $handlerOpt='')
 addPaths ($paths)
 _getPaths ()
 _init ()
 _initPaths ($paths='')

Detailed Description

Definition at line 81 of file class.t3lib_exec.php.


Member Function Documentation

t3lib_exec::_getPaths  ) 
 

set the search paths from different sources

Returns:
[type] ...

Definition at line 201 of file class.t3lib_exec.php.

References t3lib_div::trimExplode().

t3lib_exec::_getPaths  ) 
 

set the search paths from different sources

Returns:
[type] ...

Definition at line 201 of file class.t3lib_exec.php.

References t3lib_div::trimExplode().

Referenced by _initPaths().

t3lib_exec::_init  ) 
 

init

Returns:
[type] ...

Definition at line 269 of file class.t3lib_exec.php.

References _initPaths().

t3lib_exec::_init  ) 
 

init

Returns:
[type] ...

Definition at line 269 of file class.t3lib_exec.php.

References _initPaths().

Referenced by checkCommand(), and getCommand().

t3lib_exec::_initPaths paths = ''  ) 
 

init and extend the preset paths with own

Parameters:
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).
Returns:
[type] ...
set a path to the right format

Parameters:
string path
Returns:
string path

Definition at line 285 of file class.t3lib_exec.php.

References _getPaths(), and t3lib_div::trimExplode().

t3lib_exec::_initPaths paths = ''  ) 
 

init and extend the preset paths with own

Parameters:
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).
Returns:
[type] ...
set a path to the right format

Parameters:
string path
Returns:
string path

Definition at line 285 of file class.t3lib_exec.php.

References _getPaths(), and t3lib_div::trimExplode().

Referenced by _init(), and addPaths().

t3lib_exec::addPaths paths  ) 
 

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

Parameters:
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).
Returns:
[type] ...

Definition at line 191 of file class.t3lib_exec.php.

References _initPaths().

t3lib_exec::addPaths paths  ) 
 

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

Parameters:
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).
Returns:
[type] ...

Definition at line 191 of file class.t3lib_exec.php.

References _initPaths().

t3lib_exec::checkCommand cmd,
handler = ''
 

checks if a command is valid or not updates global vars

Parameters:
string the command that should be executed. eg: "convert"
string executer for the command. eg: "perl"
Returns:
boolean false if cmd is not found, or -1 if the handler is not found

Definition at line 91 of file class.t3lib_exec.php.

References _init(), and checkCommand().

t3lib_exec::checkCommand cmd,
handler = ''
 

checks if a command is valid or not updates global vars

Parameters:
string the command that should be executed. eg: "convert"
string executer for the command. eg: "perl"
Returns:
boolean false if cmd is not found, or -1 if the handler is not found

Definition at line 91 of file class.t3lib_exec.php.

References _init().

Referenced by checkCommand(), t3lib_svbase::checkExec(), t3lib_extMgm::findService(), and getCommand().

t3lib_exec::getCommand cmd,
handler = '',
handlerOpt = ''
 

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

Parameters:
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"
Returns:
mixed returns command string, or false if cmd is not found, or -1 if the handler is not found

Definition at line 162 of file class.t3lib_exec.php.

References _init(), checkCommand(), and getCommand().

t3lib_exec::getCommand cmd,
handler = '',
handlerOpt = ''
 

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

Parameters:
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"
Returns:
mixed returns command string, or false if cmd is not found, or -1 if the handler is not found

Definition at line 162 of file class.t3lib_exec.php.

References _init(), and checkCommand().

Referenced by getCommand().


The documentation for this class was generated from the following files:


Généré par L'expert TYPO3 avec  doxygen 1.4.6