eZPublishCommunityProject(LegacyStack)  2013.6
old_drafts_cleanup.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

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

Variable Documentation

$draftsCleanUpLimit
Initial value:
= $ini->hasVariable( 'VersionManagement', 'DraftsCleanUpLimit' ) ?
$ini->variable( 'VersionManagement', 'DraftsCleanUpLimit' ) : 0
$ini
Definition: ezgeneratetranslationcache.php:58
$duration = 0
$durationSetting
Initial value:
= $ini->hasVariable( 'VersionManagement', 'DraftsDuration' ) ?
$ini->variable( 'VersionManagement', 'DraftsDuration' ) : array( 'days' => 90 )
$ini
Definition: ezgeneratetranslationcache.php:58
$ini = eZINI::instance( 'content.ini' )
$isDurationSet = false
if (is_array($durationSetting)) if ($isDurationSet) else
Initial value:
{
$cli->output( "Lifetime is not set for user's drafts (see your ini-settings, content.ini, VersionManagement section)." )
$cli
Definition: adddefaultstates.php:14