eZPublish  4.4
ezpgenerateautoloads.php File Reference

Variables

 $autoloadGenerator = new eZAutoloadGenerator( $autoloadOptions )
 
 $autoloadOptions = new ezpAutoloadGeneratorOptions()
 
 $displayProgressOption = new ezcConsoleOption( 'p', 'progress', ezcConsoleInput::TYPE_NONE )
 
 $dryrunOption = new ezcConsoleOption( 'n', 'dry-run', ezcConsoleInput::TYPE_NONE )
 
 $excludeDirsOption = new ezcConsoleOption( '', 'exclude', ezcConsoleInput::TYPE_STRING )
 
 $extensionFilesOption = new ezcConsoleOption( 'e', 'extension', ezcConsoleInput::TYPE_NONE )
 
 $helpOption = new ezcConsoleOption( 'h', 'help' )
 
 $kernelFilesOption = new ezcConsoleOption( 'k', 'kernel', ezcConsoleInput::TYPE_NONE )
 
 $kernelOverrideOption = new ezcConsoleOption( 'o', 'kernel-override', ezcConsoleInput::TYPE_NONE )
 
 $params = new ezcConsoleInput()
 
 $targetOption = new ezcConsoleOption( 't', 'target', ezcConsoleInput::TYPE_STRING )
 
 $testFilesOption = new ezcConsoleOption( 's', 'tests', ezcConsoleInput::TYPE_NONE )
 
if(file_exists("config.php")) $useBundledComponents = defined( 'EZP_USE_BUNDLED_COMPONENTS' ) ? EZP_USE_BUNDLED_COMPONENTS === true : file_exists( 'lib/ezc' )
 
 $verboseOption = new ezcConsoleOption( 'v', 'verbose', ezcConsoleInput::TYPE_NONE )
 
$params argumentDefinition = new ezcConsoleArguments()
 
$params argumentDefinition [0] = new ezcConsoleArgument( 'extension' )
 
$autoloadOptions basePath = $params->argumentDefinition['extension']->value
 
$params argumentDefinition[0] default = getcwd()
 
$autoloadOptions displayProgress = $displayProgressOption->value
 
if($useBundledComponents) else
if(defined( 'EZC_BASE_PATH')) 
else
 
if(!empty($targetOption->value))
$autoloadOptions 
excludeDirs = $excludeDirs
 
$helpOption mandatory = false
 
$autoloadOptions searchExtensionFiles = $extensionFilesOption->value
 
$autoloadOptions searchKernelFiles = $kernelFilesOption->value
 
$autoloadOptions searchKernelOverride = $kernelOverrideOption->value
 
$autoloadOptions searchTestFiles = $testFilesOption->value
 
$helpOption shorthelp = "Show help information"
 
 try
 
$autoloadOptions writeFiles = !$dryrunOption->value
 

Variable Documentation

$autoloadGenerator = new eZAutoloadGenerator( $autoloadOptions )
$autoloadOptions = new ezpAutoloadGeneratorOptions()
$displayProgressOption = new ezcConsoleOption( 'p', 'progress', ezcConsoleInput::TYPE_NONE )
$dryrunOption = new ezcConsoleOption( 'n', 'dry-run', ezcConsoleInput::TYPE_NONE )
$excludeDirsOption = new ezcConsoleOption( '', 'exclude', ezcConsoleInput::TYPE_STRING )
$extensionFilesOption = new ezcConsoleOption( 'e', 'extension', ezcConsoleInput::TYPE_NONE )
$helpOption = new ezcConsoleOption( 'h', 'help' )

Referenced by eZCLI\getOptions().

$kernelFilesOption = new ezcConsoleOption( 'k', 'kernel', ezcConsoleInput::TYPE_NONE )
$kernelOverrideOption = new ezcConsoleOption( 'o', 'kernel-override', ezcConsoleInput::TYPE_NONE )
$params = new ezcConsoleInput()
$targetOption = new ezcConsoleOption( 't', 'target', ezcConsoleInput::TYPE_STRING )
$testFilesOption = new ezcConsoleOption( 's', 'tests', ezcConsoleInput::TYPE_NONE )
if (file_exists("config.php")) $useBundledComponents = defined( 'EZP_USE_BUNDLED_COMPONENTS' ) ? EZP_USE_BUNDLED_COMPONENTS === true : file_exists( 'lib/ezc' )
$verboseOption = new ezcConsoleOption( 'v', 'verbose', ezcConsoleInput::TYPE_NONE )
$params argumentDefinition = new ezcConsoleArguments()
$params argumentDefinition[0] = new ezcConsoleArgument( 'extension' )
$autoloadOptions basePath = $params->argumentDefinition['extension']->value
$params argumentDefinition [0] default = getcwd()
$autoloadOptions displayProgress = $displayProgressOption->value
if (defined( 'EZP_AUTOLOAD_OUTPUT')) else
Initial value:
{
if ( !@include 'ezc/Base/base.php' )
{
require 'Base/src/base.php';
}
}
spl_autoload_register( array( 'ezcBase', 'autoload' ) )
if (!empty($targetOption->value)) $autoloadOptions excludeDirs = $excludeDirs
$displayProgressOption mandatory = false
$autoloadOptions searchExtensionFiles = $extensionFilesOption->value
$autoloadOptions searchKernelFiles = $kernelFilesOption->value
$autoloadOptions searchKernelOverride = $kernelOverrideOption->value
$autoloadOptions searchTestFiles = $testFilesOption->value
$displayProgressOption shorthelp = "Show help information"
try
Initial value:
{
$params->process()
$params
Definition: ezconvert2isbn13.php:82
$autoloadOptions writeFiles = !$dryrunOption->value