eZPublishCommunityProject(LegacyStack)  2013.6
workflow/edit.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $canStore = true
 
foreach($event_list as $event)
if($requireFixup) 
$cur_type = 0
 
 $customAction = false
 
 $customActionAttributeID = null
 
 $date_time = time()
 
 $db = eZDB::instance()
 
if($http->hasPostVariable("AddGroupButton")&&$http->
hasPostVariable("Workflow_group"))
if($http->hasPostVariable("DeleteGroupButton")&&$http->
hasPostVariable("group_id_checked")) 
$event_list = $workflow->fetchEvents()
 
switch($Params["FunctionName"]) $GroupID = ( isset( $Params["GroupID"] ) ) ? $Params["GroupID"] : false
 
 $GroupName = ( isset( $Params["GroupName"] ) ) ? $Params["GroupName"] : false
 
 $http = eZHTTPTool::instance()
 
 $ingroup = eZWorkflowGroupLink::create( $WorkflowID, $WorkflowVersion, $GroupID, $GroupName )
 
 $Module = $Params['Module']
 
 $requireFixup = false
 
 $res = eZTemplateDesignResource::instance()
 
if(isset($GroupID)) $Result = array()
 
 $Result ['content'] = $tpl->fetch( "design:workflow/edit.tpl" )
 
 $Result ['path']
 
 $tpl = eZTemplate::factory()
 
 $type_list = eZWorkflowType::fetchRegisteredTypes()
 
 $user = eZUser::currentUser()
 
 $user_id = $user->attribute( "contentobject_id" )
 
if($http->hasPostVariable("DiscardButton")) $validation
 
 $workflow = eZWorkflow::create( $user_id )
 
 $workflowCount = eZWorkflow::fetchListCount()
 
 $WorkflowID = ( isset( $Params["WorkflowID"] ) ) ? $Params["WorkflowID"] : false
 
 $WorkflowVersion = $workflow->attribute( "version" )
 
if(is_numeric($WorkflowID)) else
 

Variable Documentation

$canStore = true
foreach ($event_list as $event) if ($requireFixup) $cur_type = 0
$customAction = false
$customActionAttributeID = null
$date_time = time()
$db = eZDB::instance()
if ($http->hasPostVariable("AddGroupButton")&&$http->hasPostVariable("Workflow_group")) if ($http->hasPostVariable("DeleteGroupButton")&&$http->hasPostVariable("group_id_checked")) $event_list = $workflow->fetchEvents()
switch ($Params["FunctionName"]) $GroupID = ( isset( $Params["GroupID"] ) ) ? $Params["GroupID"] : false
$GroupName = ( isset( $Params["GroupName"] ) ) ? $Params["GroupName"] : false
$ingroup = eZWorkflowGroupLink::create( $WorkflowID, $WorkflowVersion, $GroupID, $GroupName )
$Module = $Params['Module']
$requireFixup = false
if (isset($GroupID)) $Result = array()
$Result['content'] = $tpl->fetch( "design:workflow/edit.tpl" )
$Result['path']
Initial value:
= array( array( 'text' => ezpI18n::tr( 'kernel/workflow', 'Workflow' ),
'url' => false ),
array( 'text' => ezpI18n::tr( 'kernel/workflow', 'Edit' ),
'url' => false ) )
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
$user_id = $user->attribute( "contentobject_id" )
if ($http->hasPostVariable("DiscardButton")) $validation
Initial value:
= array( 'processed' => false,
'groups' => array(),
'attributes' => array(),
'events' => array() )
$workflowCount = eZWorkflow::fetchListCount()
$WorkflowID = ( isset( $Params["WorkflowID"] ) ) ? $Params["WorkflowID"] : false
$WorkflowVersion = $workflow->attribute( "version" )
if (is_numeric($WorkflowID)) else
Initial value:
{
$user
Definition: ezconvertmysqltabletype.php:40
static currentUser()
Definition: ezuser.php:1554