source: sandbox/workflow/2.0/inc/class.workflow_instance.inc.php @ 1293

Revision 1293, 807 bytes checked in by gbisotto, 15 years ago (diff)

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

  • Property svn:executable set to *
Line 
1<?php
2        require_once 'common.inc.php';
3        // include galaxia's configuration tailored to egroupware
4        if (!defined('GALAXIA_LIBRARY'))
5                require_once 'engine/config.egw.inc.php';
6
7        require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'API' . SEP . 'Instance.php');
8        require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'common' . SEP . 'WfSecurity.php');
9        require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'ProcessManager' . SEP . 'ActivityManager.php');
10        /**
11         * @package Workflow
12         * @license http://www.gnu.org/copyleft/gpl.html GPL
13         */
14        class workflow_instance extends Instance
15        {   /**
16                 * Construtor da classe workflow_Instance
17                 * @access public
18                 * @return object
19                 */
20                function workflow_Instance()
21                {
22                        parent::Instance(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID);
23                }
24        }
25?>
Note: See TracBrowser for help on using the repository browser.