Ignore:
Timestamp:
08/07/09 16:06:07 (15 years ago)
Author:
gbisotto
Message:

Ticket #609 - Modificada a classe Factory e ProcessFactory? para automatizaro acesso ao objetos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/2.0/inc/local/functions/function.wf_get_activity_link_by_id.php

    r795 r1293  
    55 * @return string url para a atividade passada como parametro 
    66 * @license http://www.gnu.org/copyleft/gpl.html GPL 
    7  * @package Workflow  
    8  * @subpackage local  
     7 * @package Workflow 
     8 * @subpackage local 
    99 * @access public 
    1010 * @author Alessandra Heil 
     
    1414        /* load some variables */ 
    1515        $instance =& $GLOBALS['workflow']['wf_runtime']; 
    16          
     16 
    1717        $currentActivity = $instance->activity_id; 
    1818        $instanceId = $instance->instance_id; 
    1919        $urlBase = $_SERVER['SERVER_NAME']; 
    20          
     20 
    2121        if (isset($currentActivity) && ($instanceId != 0)) 
    2222                $output = "http://".$urlBase."/index.php?menuaction=workflow.run_activity.go&activity_id=$activityId"; 
    2323        else 
    2424                $output = "http://".$urlBase."/workflow/index.php?start_tab=0"; 
    25          
     25 
    2626        return $output ; 
    2727} 
Note: See TracChangeset for help on using the changeset viewer.