eZPublish  3.8
ezexec.php File Reference

Variables

 $cli =& eZCLI::instance()
 
 $options
 
 $retCode = include( $scriptFile )
 
 $script
 
if(count($options['arguments'])< 1) $scriptFile = $options['arguments'][0]
 

Variable Documentation

$cli =& eZCLI::instance()
$options
Initial value:
= $script->getOptions( "",
"[scriptfile]",
array() )
$script
Definition: clusterize.php:132
$retCode = include( $scriptFile )
$script
Initial value:
=& 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 ) )
& instance($settings=array())
Definition: ezscript.php:1011
if (count($options['arguments'])< 1) $scriptFile = $options['arguments'][0]

Referenced by eZRunCronjobs\runScript().