Ignore:
Timestamp:
03/16/10 14:48:39 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Substituindo todas as chamadas à CreateObject? no módulo pela nova factory.

File:
1 edited

Legend:

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

    r2253 r2264  
    6868 
    6969                $this->registerFileInfo('bo_participants', 'class.bo_participants.inc.php', 'inc'); 
     70                $this->registerFileInfo('so_agent_mail_smtp', 'class.so_agent_mail_smtp.inc.php', 'inc'); 
    7071 
    71                 /* registering egw class example */ 
     72                /* registering egw external classes */ 
    7273                $this->registerFileInfo('phpgw', 'class.phpgw.inc.php', '', EGW_INC_ROOT); 
    7374                $this->registerFileInfo('db', 'class.db.inc.php', '', EGW_INC_ROOT); 
    7475                $this->registerFileInfo('accounts', 'class.accounts.inc.php', '', EGW_INC_ROOT); 
     76                $this->registerFileInfo('config', 'class.config.inc.php', '', EGW_INC_ROOT); 
     77                $this->registerFileInfo('common', 'class.common.inc.php', '', EGW_INC_ROOT); 
     78                $this->registerFileInfo('session', 'class.session.inc.php', '', EGW_INC_ROOT); 
     79                $this->registerFileInfo('nextmachs', 'class.nextmatchs.inc.php', '', EGW_INC_ROOT); 
     80                $this->registerFileInfo('categories', 'class.categories.inc.php', '', EGW_INC_ROOT); 
     81                $this->registerFileInfo('listbox', 'class.listbox.inc.php', '', EGW_INC_ROOT); 
     82                $this->registerFileInfo('phpmailer', 'class.phpmailer.inc.php', '', EGW_INC_ROOT); 
     83 
     84                /** 
     85                 * It can cause some troubles. A class named 'bo' must be instantiated by a 
     86                 * Factory::getInstance('bo') call, that isn't really intuitive.. Something to 
     87                 * think about... 
     88                 */ 
     89                $this->registerFileInfo('bo', 'class.bo.inc.php', 'emailadmin/inc', EGW_SERVER_ROOT); 
    7590 
    7691 
    7792                /** 
    7893                 * TODO - This is a veeery big workaround to maintain compatibility with 
    79                  * processes that uses the old not-static factory. So, we made this wrapper 
     94                 * processes that uses the old non-static factory. So, we made this wrapper 
    8095                 * (adapter) that just calls the new and cute static factory class in the 
    8196                 * right way. It should be removed as soon as possible. 
Note: See TracChangeset for help on using the changeset viewer.