[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 248 lignes (7 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
ExecTask:: (11 méthodes):
main()
execute()
setCommand()
setEscape()
setDir()
setOs()
setOutput()
setError()
setPassthru()
setSpawn()
setCheckreturn()
main() X-Ref |
Main method: wraps execute() command. return: void |
execute() X-Ref |
Executes a program and returns the return code. Output from command is logged at INFO level. return: int Return code from execution. |
setCommand($command) X-Ref |
The command to use. param: mixed $command String or string-compatible (e.g. w/ __toString()). |
setEscape($escape) X-Ref |
Whether to use escapeshellcmd() to escape command. param: boolean $escape |
setDir(PhingFile $dir) X-Ref |
Specify the working directory for executing this command. param: PhingFile $dir |
setOs($os) X-Ref |
Specify OS (or muliple OS) that must match in order to execute this command. param: string $os |
setOutput(PhingFile $f) X-Ref |
File to which output should be written. param: PhingFile $output |
setError(PhingFile $f) X-Ref |
File to which error output should be written. param: PhingFile $output |
setPassthru($passthru) X-Ref |
Whether to use passthru the output. param: boolean $passthru |
setSpawn($spawn) X-Ref |
Whether to suppress all output and run in the background. param: boolean $spawn |
setCheckreturn($checkreturn) X-Ref |
Whether to check the return code. param: boolean $checkreturn |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |