|
eZ Publish
[trunk]
|
Go to the source code of this file.
Variables | |
| $cli = eZCLI::instance() | |
| $options | |
| $retCode = include( $scriptFile ) | |
| $script | |
| if(count($options['arguments'])< 1) | $scriptFile = $options['arguments'][0] |
| if(!file_exists($scriptFile)) $script->shutdown(1 Could execute the file was not | found |
| if(!file_exists($scriptFile)) $script->shutdown(1 Could execute the | script |
| $cli = eZCLI::instance() |
Definition at line 14 of file ezexec.php.
| $options |
$script->getOptions( "", "[scriptfile]", array() )
Definition at line 26 of file ezexec.php.
| $retCode = include( $scriptFile ) |
Definition at line 41 of file ezexec.php.
eZScript::instance( array( 'description' => ( "eZ Publish Script Executor\n\n" . "Allows execution of simple PHP scripts which uses eZ Publish functionality,\n" . "when the script is called all necessary initialization is done\n" . "\n" . "ezexec.php myscript.php" ), 'use-session' => false, 'use-modules' => true, 'use-extensions' => true ) )
Definition at line 15 of file ezexec.php.
| if (count($options['arguments'])< 1) $scriptFile = $options['arguments'][0] |
Definition at line 36 of file ezexec.php.
Referenced by eZRunCronjobs\runScript().
Definition at line 38 of file ezexec.php.
Referenced by ezpClusterGateway\interrupt().
Definition at line 38 of file ezexec.php.
Referenced by eZScriptTrashPurge\__construct(), ezpUrlObjectLinkUpdate\__construct(), ezpUrlObjectLinkUpdate\processData(), and eZScriptTrashPurge\run().