Revision 795,
1.5 KB
checked in by viani, 15 years ago
(diff) |
Ticket #488 - Inclusão do módulo workflow no ramo trunk do repositório Expresso.
|
Rev | Line | |
---|
[795] | 1 | <?php |
---|
| 2 | /**************************************************************************\ |
---|
| 3 | * eGroupWare * |
---|
| 4 | * http://www.egroupware.org * |
---|
| 5 | * -------------------------------------------- * |
---|
| 6 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 7 | * under the terms of the GNU General Public License as published by the * |
---|
| 8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 9 | * option) any later version. * |
---|
| 10 | \**************************************************************************/ |
---|
| 11 | |
---|
| 12 | require_once dirname(__FILE__) . SEP . 'class.factory.inc.php'; |
---|
| 13 | |
---|
| 14 | /** |
---|
| 15 | * Implementa o design pattern factory para os processos Workflow |
---|
| 16 | * @author Sidnei Augusto Drovetto Jr. - drovetto@gmail.com |
---|
| 17 | * @author Carlos Eduardo Nogueira Gonçalves |
---|
| 18 | * @version 1.0 |
---|
| 19 | * @package Workflow |
---|
| 20 | * @license http://www.gnu.org/copyleft/gpl.html GPL |
---|
| 21 | */ |
---|
| 22 | class ProcessFactory extends Factory |
---|
| 23 | { |
---|
| 24 | /** |
---|
| 25 | * Construtor da classe |
---|
| 26 | * @return object |
---|
| 27 | * @access public |
---|
| 28 | */ |
---|
| 29 | function ProcessFactory() |
---|
| 30 | { |
---|
| 31 | parent::Factory(); |
---|
| 32 | |
---|
| 33 | /* configuration for the workflow processes */ |
---|
| 34 | $this->classPath = PHPGW_SERVER_ROOT . SEP . 'workflow' . SEP . 'inc' . SEP . 'local' . SEP . 'classes'; |
---|
| 35 | $this->preffix = 'class.'; |
---|
| 36 | $this->suffix = '.php'; |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | function &getForeignInstance(){} |
---|
| 40 | function &newForeignInstance(){} |
---|
| 41 | } |
---|
| 42 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.