eZPublishCommunityProject(LegacyStack)  2013.6
restore.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

if($module->isCurrentAction(
'Cancel')) 
$class = $object->contentClass()
 
 $designKeys
 
if(!is_object($object)) if($object->
attribute( 'status')!=eZContentObject::STATUS_ARCHIVED
$ini = eZINI::instance()
 
 $location = null
 
 $module = $Params['Module']
 
 $object = eZContentObject::fetch( $objectID )
 
 $objectID = $Params['ObjectID']
 
 $res = eZTemplateDesignResource::instance()
 
 $Result = array()
 
 $Result ['content'] = $tpl->fetch( 'design:content/restore.tpl' )
 
 $Result ['path']
 
if($trashNode instanceof
eZContentObjectTrashNode) if($module->
isCurrentAction( 'Confirm'))
if($module->isCurrentAction(
'AddLocation')) 
$tpl = eZTemplate::factory()
 
 $trashNode = eZContentObjectTrashNode::fetchByContentObjectID( $objectID )
 
 $userClassID = $ini->variable( "UserSettings", "UserClassID" )
 
 $version = $object->attribute( 'current' )
 

Variable Documentation

if ($module->isCurrentAction( 'Cancel')) $class = $object->contentClass()
$designKeys
Initial value:
= array( array( 'object', $object->attribute( 'id' ) ),
array( 'remote_id', $object->attribute( 'remote_id' ) ),
array( 'class', $class->attribute( 'id' ) ),
array( 'class_identifier', $class->attribute( 'identifier' ) ) )
$object
Definition: attribute_edit.php:43
$class
Definition: ezcsvimport.php:69
if (!is_object($object)) if ($object->attribute( 'status')!=eZContentObject::STATUS_ARCHIVED) $ini = eZINI::instance()
$module = $Params['Module']
$object = eZContentObject::fetch( $objectID )
$objectID = $Params['ObjectID']
$Result = array()
$Result['content'] = $tpl->fetch( 'design:content/restore.tpl' )
$Result['path']
Initial value:
= array( array( 'uri' => false,
'text' => ezpI18n::tr( "kernel/content/restore", "Restore object" ) ),
array( 'uri' => false,
'text' => $object->attribute( 'name' ) ) )
$object
Definition: attribute_edit.php:43
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:86
if ($trashNode instanceof eZContentObjectTrashNode) if ($module->isCurrentAction( 'Confirm')) if ($module->isCurrentAction( 'AddLocation')) $tpl = eZTemplate::factory()
$userClassID = $ini->variable( "UserSettings", "UserClassID" )
$version = $object->attribute( 'current' )