eZPublishCommunityProject(LegacyStack)  2013.5
internal_drafts_cleanup.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $duration = 0
 
 $durationSetting
 
 $ini = eZINI::instance( 'content.ini' )
 
 $internalDraftsCleanUpLimit
 
 $isDurationSet = false
 
if(is_array($durationSetting))
if($isDurationSet) 
else
 

Variable Documentation

$durationSetting
Initial value:
= $ini->hasVariable( 'VersionManagement', 'InternalDraftsDuration' ) ?
$ini->variable( 'VersionManagement', 'InternalDraftsDuration' ) : array( 'hours' => 24 )
$ini
Definition: ezgeneratetranslationcache.php:58
$ini = eZINI::instance( 'content.ini' )
$internalDraftsCleanUpLimit
Initial value:
= $ini->hasVariable( 'VersionManagement', 'InternalDraftsCleanUpLimit' ) ?
$ini->variable( 'VersionManagement', 'InternalDraftsCleanUpLimit' ) : 0
$ini
Definition: ezgeneratetranslationcache.php:58
$isDurationSet = false
if (is_array($durationSetting)) if ($isDurationSet) else
Initial value:
{
$cli->output( "Lifetime is not set for internal drafts (see your ini-settings, content.ini, VersionManagement section)." )
$cli
Definition: adddefaultstates.php:14