Ignore:
Timestamp:
03/11/10 15:42:15 (15 years ago)
Author:
pedroerp
Message:

Ticket #609 - Iniciando a migração do workflow para a nova factory.

Location:
sandbox/workflow/branches/609/lib/factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/609/lib/factory/Factory.php

    r2222 r2223  
    7474 
    7575                        $args = func_get_args(); 
    76                         call_user_func_array(array(self::$_securedFactory, "getInstance"), $args); 
     76                        return call_user_func_array(array(self::$_securedFactory, "getInstance"), $args); 
    7777 
    7878                } 
     
    8585 
    8686                        $args = func_get_args(); 
    87                         call_user_func_array(array(self::$_unsecuredFactory, "getInstance"), $args); 
     87                        return call_user_func_array(array(self::$_unsecuredFactory, "getInstance"), $args); 
    8888                } 
    89  
    9089        } 
    9190 
  • sandbox/workflow/branches/609/lib/factory/WorkflowFactory.php

    r2222 r2223  
    4949                /* registering allowed classes */ 
    5050                $this->registerFileInfo('WorkflowObjects', 'class.WorkflowObjects.inc.php', 'inc'); 
     51                $this->registerFileInfo('TemplateServer', 'class.TemplateServer.inc.php', 'inc'); 
     52                $this->registerFileInfo('workflow_smarty', 'class.workflow_smarty.inc.php', 'inc'); 
    5153 
    52                 $this->registerFileInfo('db', 'x', 'inc', PHPGW_API_INC); 
     54                /* registering egw class example */ 
     55                //$this->registerFileInfo('db', 'x', 'inc', PHPGW_API_INC); 
    5356 
    5457                /* ok. no more instances of this class.. */ 
Note: See TracChangeset for help on using the changeset viewer.