eZPublish  4.4
internal_drafts_cleanup.php File Reference

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:74
$ini = eZINI::instance( 'content.ini' )
$internalDraftsCleanUpLimit
Initial value:
= $ini->hasVariable( 'VersionManagement', 'InternalDraftsCleanUpLimit' ) ?
$ini->variable( 'VersionManagement', 'InternalDraftsCleanUpLimit' ) : 0
$ini
Definition: ezgeneratetranslationcache.php:74
$isDurationSet = false
if (is_array($durationSetting)) if ($isDurationSet) else
Initial value:
{
if ( !$isQuiet )
$cli->output( "Lifetime is not set for internal drafts (see your ini-settings, content.ini, VersionManagement section)." )
$isQuiet
Definition: ezsessiongc.php:29
$cli
Definition: adddefaultstates.php:6