eZPublishCommunityProject(LegacyStack)  2013.5
ezpgenerateautoloads.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $appFolder = getcwd() . "/../$appName"
 
if(file_exists("config.php")) $appName = defined( 'EZP_APP_FOLDER_NAME' ) ? EZP_APP_FOLDER_NAME : 'ezpublish'
 
 $autoloadGenerator = new eZAutoloadGenerator( $autoloadOptions )
 
 $autoloadOptions = new ezpAutoloadGeneratorOptions()
 
 $baseEnabled = true
 
 $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 )
 
 $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_USE_BUNDLED_COMPONENTS')?EZP_USE_BUNDLED_COMPONENTS===true:file_exists(
'lib/ezc')) else if(defined(
'EZC_BASE_PATH')) else if(strpos($appFolder,"{$appName}/../{$appName}")===false
&&file_exists("{$appFolder}/autoload.php")) 
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

$appFolder = getcwd() . "/../$appName"
if (file_exists("config.php")) $appName = defined( 'EZP_APP_FOLDER_NAME' ) ? EZP_APP_FOLDER_NAME : 'ezpublish'
$autoloadGenerator = new eZAutoloadGenerator( $autoloadOptions )

Referenced by updateAutoload().

$autoloadOptions = new ezpAutoloadGeneratorOptions()
$baseEnabled = true
$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 )
$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' ) );
}
require 'kernel/private/classes/ezautoloadgenerator.php'
$baseEnabled
Definition: ezpgenerateautoloads.php:22
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:65
$autoloadOptions writeFiles = !$dryrunOption->value