eZPublishCommunityProject(LegacyStack)  2013.5
ezexec.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

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: adddefaultstates.php:22
$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 ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1084
if (count($options['arguments'])< 1) $scriptFile = $options['arguments'][0]

Referenced by eZRunCronjobs\runScript().