Changes done for PhpDoc
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.ArrayPeer.php
|
* class.ArrayPeer.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -31,7 +32,7 @@ include_once 'classes/model/Application.php';
|
|||||||
/**
|
/**
|
||||||
* Base static class for performing query and update operations on the 'APPLICATION' table.
|
* Base static class for performing query and update operations on the 'APPLICATION' table.
|
||||||
*
|
*
|
||||||
* @package workflow.classes.model
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
abstract class ArrayBasePeer {
|
abstract class ArrayBasePeer {
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.BasePeer.php
|
* class.BasePeer.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -33,7 +34,7 @@ include_once 'classes/model/Application.php';
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @package workflow.classes.model
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
abstract class GulliverBasePeer {
|
abstract class GulliverBasePeer {
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.Installer.php
|
* class.Installer.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Processmaker Installer
|
* Processmaker Installer
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author maborak
|
* @author maborak
|
||||||
* @copyright 2008 COLOSA
|
* @copyright 2008 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.Installer_mssql.php
|
* class.Installer_mssql.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Processmaker Installer_mssql
|
* Processmaker Installer_mssql
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author
|
* @author
|
||||||
* @copyright 2008 COLOSA
|
* @copyright 2008 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
+--------------------------------------------------*/
|
+--------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
**/
|
*/
|
||||||
class archive
|
class archive
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@@ -349,6 +349,7 @@ class archive
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is derived from the class archive, is imployed to use files .tar
|
* This class is derived from the class archive, is imployed to use files .tar
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class tar_file extends archive
|
class tar_file extends archive
|
||||||
@@ -509,7 +510,8 @@ class tar_file extends archive
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is derived of the class archive, is employed to use archives .gzip
|
* This class is derived of the class archive, is employed to use archives .gzip
|
||||||
*
|
* @package workflow.engine.classes
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
class gzip_file extends tar_file
|
class gzip_file extends tar_file
|
||||||
{
|
{
|
||||||
@@ -564,7 +566,8 @@ class gzip_file extends tar_file
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* This class is derived from the class archive, is employed to use files .bzip
|
* This class is derived from the class archive, is employed to use files .bzip
|
||||||
*
|
* @package workflow.engine.classes
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
class bzip_file extends tar_file
|
class bzip_file extends tar_file
|
||||||
{
|
{
|
||||||
@@ -619,6 +622,7 @@ class bzip_file extends tar_file
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is derived from the class archive, is imployed to use files .zip
|
* This class is derived from the class archive, is imployed to use files .zip
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class zip_file extends archive
|
class zip_file extends archive
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.calendar.php
|
* class.calendar.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -27,7 +28,7 @@
|
|||||||
* @created 2010-03-22
|
* @created 2010-03-22
|
||||||
*
|
*
|
||||||
* @author Hugo Loza <hugo@colosa.com> 2010-03-22
|
* @author Hugo Loza <hugo@colosa.com> 2010-03-22
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once ( "classes/model/CalendarDefinition.php" );
|
require_once ( "classes/model/CalendarDefinition.php" );
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* class.case.php
|
* class.case.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -21,8 +22,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once ("classes/model/Application.php");
|
require_once ("classes/model/Application.php");
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.cli.php
|
* class.cli.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2011 Colosa Inc.
|
* Copyright (C) 2011 Colosa Inc.
|
||||||
@@ -24,6 +25,9 @@
|
|||||||
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
* @author Alexandre Rosenfeld <alexandre@colosa.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class CLI {
|
class CLI {
|
||||||
public static $tasks = array();
|
public static $tasks = array();
|
||||||
public static $currentTask = NULL;
|
public static $currentTask = NULL;
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.configuration.php
|
* class.configuration.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -45,7 +46,7 @@ require_once 'classes/model/Configuration.php';
|
|||||||
*
|
*
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
* @version Release: @package_version@
|
* @version Release: @package_version@
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class Configurations // extends Configuration
|
class Configurations // extends Configuration
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.dashboards.php
|
* class.dashboards.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Dashboards - Dashboard class
|
* Dashboards - Dashboard class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Julio Cesar Laura Avenda<64>o
|
* @author Julio Cesar Laura Avenda<64>o
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.dates.php
|
* class.dates.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
* Created on 21/01/2008
|
* Created on 21/01/2008
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @Author: Erik Amaru Ortiz <erik@colosa.com>
|
* Author: Erik Amaru Ortiz <erik@colosa.com>
|
||||||
* @Description:This is a class for load all additional connections; if exist in a particular proccess
|
* Description:This is a class for load all additional connections; if exist in a particular proccess
|
||||||
* @Date: 15-05-2008
|
* Date: 15-05-2008
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* class.dbConnections.php
|
* class.dbConnections.php
|
||||||
*
|
*
|
||||||
* Email bugs/suggestions to erik@colosa.com
|
* Email bugs/suggestions to erik@colosa.com
|
||||||
*
|
*
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once 'model/DbSource.php';
|
require_once 'model/DbSource.php';
|
||||||
@@ -20,6 +19,7 @@ require_once 'model/Content.php';
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @copyright 2008 Colosa
|
* @copyright 2008 Colosa
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class dbConnections
|
class dbConnections
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.derivation.php
|
* class.derivation.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -38,7 +39,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* derivation - derivation class
|
* derivation - derivation class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.dynaFormField.php
|
* class.dynaFormField.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -20,15 +21,14 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G::LoadClass('xmlDb');
|
G::LoadClass('xmlDb');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dynaform Field - DynaformField class
|
* Dynaform Field - DynaformField class
|
||||||
*
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class DynaFormField extends DBTable
|
class DynaFormField extends DBTable
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.dynaformEditor.php
|
* class.dynaformEditor.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,6 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -38,6 +37,10 @@ require_once('classes/model/Process.php');
|
|||||||
require_once('classes/model/Dynaform.php');
|
require_once('classes/model/Dynaform.php');
|
||||||
G::LoadClass('xmlDb');
|
G::LoadClass('xmlDb');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
class dynaformEditor extends WebResource
|
class dynaformEditor extends WebResource
|
||||||
{
|
{
|
||||||
private $isOldCopy = false;
|
private $isOldCopy = false;
|
||||||
@@ -346,7 +349,9 @@ interface iDynaformEditorAjax
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DynaformEditorAjax - DynaformEditorAjax class
|
* DynaformEditorAjax - DynaformEditorAjax class
|
||||||
|
*
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.groupUser.php
|
* class.groupUser.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -31,7 +32,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* GroupUser - GroupUser class
|
* GroupUser - GroupUser class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Julio Cesar Laura Avendaño
|
* @author Julio Cesar Laura Avendaño
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.groups.php
|
* class.groups.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -28,7 +29,7 @@ require_once 'classes/model/Users.php';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Groups - Groups class
|
* Groups - Groups class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,102 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief insert mail into the spool database
|
|
||||||
*
|
|
||||||
* @package Tomahawk_Mail
|
|
||||||
* @author Ian K Armstrong <ika@[REMOVE_THESE_CAPITALS]openmail.cc>
|
|
||||||
* @copyright Copyright (c) 2007, Ian K Armstrong
|
|
||||||
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU Public License
|
|
||||||
* @link http://www.openmail.cc
|
|
||||||
*
|
|
||||||
* @category web_mail
|
|
||||||
* @subpackage send
|
|
||||||
* @filesource
|
|
||||||
* @version
|
|
||||||
*
|
|
||||||
* @file class.insert.php
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
require_once ( "classes/model/AppMessage.php" );
|
|
||||||
|
|
||||||
class insert
|
|
||||||
{
|
|
||||||
private $db_spool;
|
|
||||||
private $status;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* construct of insert
|
|
||||||
*
|
|
||||||
* @param string $pPRO_UID
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function __construct($db_spool=array())
|
|
||||||
{
|
|
||||||
if(count($db_spool)>0)
|
|
||||||
$db_spool = $this->db_insert($db_spool);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* returnStatus
|
|
||||||
*
|
|
||||||
* @return $this->status;
|
|
||||||
*/
|
|
||||||
public function returnStatus()
|
|
||||||
{
|
|
||||||
return $this->status;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* db_insert
|
|
||||||
*
|
|
||||||
* @param array $db_spool
|
|
||||||
* @return string $sUID;
|
|
||||||
*/
|
|
||||||
public function db_insert($db_spool)
|
|
||||||
{
|
|
||||||
$sUID = G::generateUniqueID();
|
|
||||||
$spool = new AppMessage();
|
|
||||||
$spool->setAppMsgUid($sUID);
|
|
||||||
$spool->setMsgUid($db_spool['msg_uid']);
|
|
||||||
$spool->setAppUid($db_spool['app_uid']);
|
|
||||||
$spool->setDelIndex($db_spool['del_index']);
|
|
||||||
$spool->setAppMsgType($db_spool['app_msg_type']);
|
|
||||||
$spool->setAppMsgSubject($db_spool['app_msg_subject']);
|
|
||||||
$spool->setAppMsgFrom($db_spool['app_msg_from']);
|
|
||||||
$spool->setAppMsgTo($db_spool['app_msg_to']);
|
|
||||||
$spool->setAppMsgBody($db_spool['app_msg_body']);
|
|
||||||
$spool->setAppMsgDate(date('Y-m-d H:i:s'));
|
|
||||||
$spool->setAppMsgCc($db_spool['app_msg_cc']);
|
|
||||||
$spool->setAppMsgBcc($db_spool['app_msg_bcc']);
|
|
||||||
$spool->setappMsgAttach($db_spool['app_msg_attach']);
|
|
||||||
$spool->setAppMsgTemplate($db_spool['app_msg_template']);
|
|
||||||
$spool->setAppMsgStatus($db_spool['app_msg_status']);
|
|
||||||
|
|
||||||
if(!$spool->validate()) {
|
|
||||||
$errors = $spool->getValidationFailures();
|
|
||||||
$this->status = 'error';
|
|
||||||
|
|
||||||
foreach($errors as $key => $value) {
|
|
||||||
echo "Validation error - " . $value->getMessage($key) . "\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
//echo "Saving - validation ok\n";
|
|
||||||
$this->status = 'success';
|
|
||||||
$spool->save();
|
|
||||||
}
|
|
||||||
return $sUID;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} // end of class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class.javaBridgePM.php
|
* class.javaBridgePM.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,14 +21,16 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*/
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ( ! defined ( 'JAVA_BRIDGE_PATH') ) define ( 'JAVA_BRIDGE_PATH', 'JavaBridgePM' );
|
if ( ! defined ( 'JAVA_BRIDGE_PATH') ) define ( 'JAVA_BRIDGE_PATH', 'JavaBridgePM' );
|
||||||
if ( ! defined ( 'JAVA_BRIDGE_PORT') ) define ( 'JAVA_BRIDGE_PORT', '8080' );
|
if ( ! defined ( 'JAVA_BRIDGE_PORT') ) define ( 'JAVA_BRIDGE_PORT', '8080' );
|
||||||
if ( ! defined ( 'JAVA_BRIDGE_HOST') ) define ( 'JAVA_BRIDGE_HOST', '127.0.0.1' );
|
if ( ! defined ( 'JAVA_BRIDGE_HOST') ) define ( 'JAVA_BRIDGE_HOST', '127.0.0.1' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class JavaBridgePM
|
class JavaBridgePM
|
||||||
{
|
{
|
||||||
var $JavaBridgeDir = JAVA_BRIDGE_PATH;
|
var $JavaBridgeDir = JAVA_BRIDGE_PATH;
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.jrml.php
|
* class.jrml.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -26,7 +27,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Jrml - Jrml class
|
* Jrml - Jrml class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Maborak <maborak@maborak.com>
|
* @author Maborak <maborak@maborak.com>
|
||||||
* @copyright 2008 COLOSA
|
* @copyright 2008 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.languages.php
|
* class.languages.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -31,7 +32,7 @@ G::LoadClass('xmlDb');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* languages - Languages class
|
* languages - Languages class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class languages {
|
class languages {
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
| only if this copyright statement is not removed
|
| only if this copyright statement is not removed
|
||||||
+--------------------------------------------------*/
|
+--------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* @LastModification 30/05/2008
|
* LastModification 30/05/2008
|
||||||
* /**
|
* /**
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class NET
|
class NET
|
||||||
@@ -501,7 +501,7 @@ class NET
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function gets an error
|
* This function gets an error
|
||||||
* @param
|
* param
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getErrno()
|
function getErrno()
|
||||||
@@ -511,7 +511,7 @@ class NET
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function gets an error message
|
* This function gets an error message
|
||||||
* @param
|
* param
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function getErrmsg()
|
function getErrmsg()
|
||||||
@@ -521,6 +521,9 @@ class NET
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class Stat
|
class Stat
|
||||||
{
|
{
|
||||||
public $stutus;
|
public $stutus;
|
||||||
|
|||||||
@@ -1,266 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Package spool files for sending
|
|
||||||
*
|
|
||||||
* @package Tomahawk_Mail
|
|
||||||
* @author Ian K Armstrong <ika@[REMOVE_THESE_CAPITALS]openmail.cc>
|
|
||||||
* @copyright Copyright (c) 2007, Ian K Armstrong
|
|
||||||
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU Public License
|
|
||||||
* @link http://www.openmail.cc
|
|
||||||
*
|
|
||||||
* @category web_mail
|
|
||||||
* @subpackage mail
|
|
||||||
* @filesource
|
|
||||||
* @version
|
|
||||||
*
|
|
||||||
* @file class.package.php
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
class package
|
|
||||||
{
|
|
||||||
private $headers;
|
|
||||||
private $message;
|
|
||||||
private $charset;
|
|
||||||
private $emailboundary;
|
|
||||||
private $debug;
|
|
||||||
private $fileData;
|
|
||||||
private $max_line_length;
|
|
||||||
private $with_html;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function is the constructor of the package class
|
|
||||||
* @param array $fileData
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function __construct($fileData=array())
|
|
||||||
{
|
|
||||||
$this->fileData = array();
|
|
||||||
$this->debug = 1;
|
|
||||||
$this->emailboundary = 'Part-'.md5(uniqid(microtime()));
|
|
||||||
$this->charset = 'UTF-8'; //'ISO-8859-1'
|
|
||||||
$this->headers = '';
|
|
||||||
$this->message = '';
|
|
||||||
$this->with_html = false;
|
|
||||||
$this->max_line_length = '70';
|
|
||||||
|
|
||||||
if(count($fileData)>0) {
|
|
||||||
$this->fileData = $fileData;
|
|
||||||
$this->addHeaders();
|
|
||||||
$this->compileBody();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function returns the header
|
|
||||||
* @param
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function returnHeader()
|
|
||||||
{
|
|
||||||
return $this->headers;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function returns the body
|
|
||||||
* @param
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function returnBody()
|
|
||||||
{
|
|
||||||
return $this->message;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function returns an error
|
|
||||||
* @param string $error
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
private function returnErrors($error)
|
|
||||||
{
|
|
||||||
if($this->debug>0) return $error;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function puts a headers (to, cc, etc)
|
|
||||||
* @param
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
private function addHeaders()
|
|
||||||
{
|
|
||||||
$header = '';
|
|
||||||
|
|
||||||
(strlen($this->fileData['from_name'])>0)
|
|
||||||
? $header .= 'From: '."{$this->fileData['from_name']}".' <'."{$this->fileData['from_email']}>"."\r\n"
|
|
||||||
: $header .= 'From: '."<{$this->fileData['from_email']}>"."\r\n";
|
|
||||||
|
|
||||||
// to
|
|
||||||
if(strlen($this->fileData['to'])>0)
|
|
||||||
{
|
|
||||||
$to = "{$this->fileData['to']}";
|
|
||||||
$header .= 'To: '.$to."\r\n";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// cc
|
|
||||||
if(strlen($this->fileData['cc'])>0)
|
|
||||||
{
|
|
||||||
$cc = "{$this->fileData['cc']}";
|
|
||||||
$header .= 'Cc: '.$cc."\r\n";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$header .= 'X-Sender: '."{$this->fileData['from_email']}"."\r\n";
|
|
||||||
$header .= 'Return-Path: <'."{$this->fileData['from_email']}".'>'."\r\n";
|
|
||||||
$header .= 'Errors-To: '."{$this->fileData['from_email']}"."\r\n";
|
|
||||||
$header .= 'Reply-To: '."{$this->fileData['from_email']}"."\r\n";
|
|
||||||
|
|
||||||
if(!empty($this->fileData['reference']))
|
|
||||||
{
|
|
||||||
$header .= 'In-Reply-To: <'."{$this->fileData['reference']}".'>'."\r\n";
|
|
||||||
$header .= 'References: <'."{$this->fileData['reference']}".'>'."\r\n";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
$header .= 'Message-Id: <'.md5(uniqid(rand())).':'
|
|
||||||
.str_replace(' ','_', "{$this->fileData['from_name']}")
|
|
||||||
.'@'."{$this->fileData['domain']}".'>'."\r\n";
|
|
||||||
|
|
||||||
$header .= 'X-Mailer: ProcessMaker <http://www.processmaker.com>'."\r\n";
|
|
||||||
$header .= 'X-Priority: 3'."\r\n";
|
|
||||||
$header .= 'Date: '."{$this->fileData['date']}"."\r\n";
|
|
||||||
$header .= 'Subject: '."{$this->fileData['subject']}"."\r\n";
|
|
||||||
$header .= 'MIME-Version: 1.0'."\r\n";
|
|
||||||
|
|
||||||
(count($this->fileData['attachments'])>0)
|
|
||||||
? $header .= 'Content-Type: multipart/mixed; '."\r\n\t".'boundary="'.$this->emailboundary.'"'."\r\n"
|
|
||||||
: $header .= 'Content-Type: multipart/alternative; '."\r\n\t".'boundary="'.$this->emailboundary.'"'."\r\n";
|
|
||||||
|
|
||||||
$header .= 'This is a multi-part message in MIME format'."\r\n";
|
|
||||||
|
|
||||||
$this->headers = $header;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function adds a file (to, cc, etc)
|
|
||||||
* @param string $data
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
private function addAttachment($data='')
|
|
||||||
{
|
|
||||||
$attach_this = '';
|
|
||||||
|
|
||||||
if(trim($data)!='')
|
|
||||||
{
|
|
||||||
list($file,$name,$type) = explode('|',$data);
|
|
||||||
|
|
||||||
if(is_readable($file))
|
|
||||||
{
|
|
||||||
// attachment header
|
|
||||||
$attachment_header = '--'.$this->emailboundary."\r\n";
|
|
||||||
$attachment_header .= 'Content-type: '.$type.'; name="'.$name.'"'."\r\n";
|
|
||||||
$attachment_header .= 'Content-transfer-encoding: base64'."\r\n";
|
|
||||||
$attachment_header .= 'Content-disposition: attachment; filename="'.$name.'"'."\r\n\r\n";
|
|
||||||
|
|
||||||
// read, encode, chunk split
|
|
||||||
$file_content = file_get_contents($file);
|
|
||||||
$file_content = base64_encode($file_content);
|
|
||||||
$file_content = chunk_split($file_content,70);
|
|
||||||
|
|
||||||
// add content and header
|
|
||||||
$attach_this = $attachment_header.$file_content."\r\n";
|
|
||||||
|
|
||||||
} else { $this->returnErrors($file.' not readable in addAttachment');}
|
|
||||||
|
|
||||||
} else { $this->returnErrors('missing data in addAttachment');}
|
|
||||||
|
|
||||||
return $attach_this;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function fixs body
|
|
||||||
* @param string $data
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
private function fixbody()
|
|
||||||
{
|
|
||||||
$lines = array();
|
|
||||||
$b = '';
|
|
||||||
$body = "{$this->fileData['body']}";
|
|
||||||
$body = str_replace("\r", "\n", str_replace("\r\n", "\n", $body));
|
|
||||||
$lines = explode("\n", $body);
|
|
||||||
|
|
||||||
foreach($lines as $line)
|
|
||||||
{
|
|
||||||
// wrap lines
|
|
||||||
$line = wordwrap($line, $this->max_line_length, "\r\n");
|
|
||||||
|
|
||||||
// leading dot problem
|
|
||||||
if(substr($line, 0,1) == '.') $line = '.' . $line;
|
|
||||||
|
|
||||||
$b .= $line."\r\n";
|
|
||||||
}
|
|
||||||
return $b;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This function compiles message
|
|
||||||
* @param
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
private function compileBody()
|
|
||||||
{
|
|
||||||
$comp = '';
|
|
||||||
$body = $this->fixbody();
|
|
||||||
|
|
||||||
// text
|
|
||||||
$comp .= '--'.$this->emailboundary."\r\n";
|
|
||||||
$comp .= 'Content-Type: text/plain; charset='.$this->charset."\r\n";
|
|
||||||
$comp .= 'Content-Transfer-Encoding: 8bit'."\r\n\r\n";
|
|
||||||
$comp .= "$body"."\r\n\r\n";
|
|
||||||
|
|
||||||
// html
|
|
||||||
if($this->with_html)
|
|
||||||
{
|
|
||||||
$temp = file_get_contents('template.html');
|
|
||||||
$temp = str_replace("\n", "", str_replace("\r", "", $temp));
|
|
||||||
|
|
||||||
$comp .= '--'.$this->emailboundary."\r\n";
|
|
||||||
$comp .= 'Content-Type: text/html; charset='.$this->charset."\r\n";
|
|
||||||
$comp .= 'Content-Transfer-Encoding: 8bit'."\r\n\r\n";
|
|
||||||
|
|
||||||
$body = str_replace('[>content<]',"$body",$temp);
|
|
||||||
$comp .= "$body"."\r\n\r\n";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// attachments
|
|
||||||
/*
|
|
||||||
if(count($this->fileData['attachments'])>0)
|
|
||||||
{
|
|
||||||
foreach($this->fileData['attachments'] as $data)
|
|
||||||
{
|
|
||||||
$comp .= $this->addAttachment($data);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}*/
|
|
||||||
|
|
||||||
$comp .= '--'.$this->emailboundary.'--'."\r\n";
|
|
||||||
|
|
||||||
$this->message = $comp;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
} // end of class
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.plugin.php
|
* class.plugin.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,10 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
require_once ( 'class.pluginRegistry.php');
|
require_once ( 'class.pluginRegistry.php');
|
||||||
|
|
||||||
@@ -42,6 +41,9 @@ define ( 'PM_CASE_DOCUMENT_LIST_ARR', 1010 );
|
|||||||
define ( 'PM_LOGIN', 1011 );
|
define ( 'PM_LOGIN', 1011 );
|
||||||
define ( 'PM_UPLOAD_DOCUMENT_BEFORE', 1012 );
|
define ( 'PM_UPLOAD_DOCUMENT_BEFORE', 1012 );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
class menuDetail {
|
class menuDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
@@ -49,9 +51,9 @@ class menuDetail {
|
|||||||
var $sFilename;
|
var $sFilename;
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the menuDetail class
|
* This function is the constructor of the menuDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sMenuId
|
* param string $sMenuId
|
||||||
* @param string $sFilename
|
* param string $sFilename
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sMenuId, $sFilename ) {
|
function __construct( $sNamespace, $sMenuId, $sFilename ) {
|
||||||
@@ -60,15 +62,19 @@ class menuDetail {
|
|||||||
$this->sFilename = $sFilename;
|
$this->sFilename = $sFilename;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
class toolbarDetail {
|
class toolbarDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sToolbarId;
|
var $sToolbarId;
|
||||||
var $sFilename;
|
var $sFilename;
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the menuDetail class
|
* This function is the constructor of the menuDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sMenuId
|
* param string $sMenuId
|
||||||
* @param string $sFilename
|
* param string $sFilename
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sToolbarId, $sFilename ) {
|
function __construct( $sNamespace, $sToolbarId, $sFilename ) {
|
||||||
@@ -77,6 +83,9 @@ class toolbarDetail {
|
|||||||
$this->sFilename = $sFilename;
|
$this->sFilename = $sFilename;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class dashboardPage {
|
class dashboardPage {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sPage;
|
var $sPage;
|
||||||
@@ -84,8 +93,8 @@ class toolbarDetail {
|
|||||||
var $sIcon;
|
var $sIcon;
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the dashboardPage class
|
* This function is the constructor of the dashboardPage class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sPage
|
* param string $sPage
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sPage, $sName, $sIcon ) {
|
function __construct( $sNamespace, $sPage, $sName, $sIcon ) {
|
||||||
@@ -96,13 +105,16 @@ class toolbarDetail {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class cssFile {
|
class cssFile {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sCssFile;
|
var $sCssFile;
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the dashboardPage class
|
* This function is the constructor of the dashboardPage class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sPage
|
* param string $sPage
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sCssFile) {
|
function __construct( $sNamespace, $sCssFile) {
|
||||||
@@ -110,7 +122,9 @@ class cssFile {
|
|||||||
$this->sCssFile = $sCssFile;
|
$this->sCssFile = $sCssFile;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class triggerDetail {
|
class triggerDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sTriggerId;
|
var $sTriggerId;
|
||||||
@@ -118,9 +132,9 @@ class triggerDetail {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the triggerDetail class
|
* This function is the constructor of the triggerDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sTriggerId
|
* param string $sTriggerId
|
||||||
* @param string $sTriggerName
|
* param string $sTriggerName
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sTriggerId, $sTriggerName ) {
|
function __construct( $sNamespace, $sTriggerId, $sTriggerName ) {
|
||||||
@@ -129,7 +143,9 @@ class triggerDetail {
|
|||||||
$this->sTriggerName = $sTriggerName;
|
$this->sTriggerName = $sTriggerName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class folderDetail {
|
class folderDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sFolderId;
|
var $sFolderId;
|
||||||
@@ -137,9 +153,9 @@ class folderDetail {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the folderDetail class
|
* This function is the constructor of the folderDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sFolderId
|
* param string $sFolderId
|
||||||
* @param string $sFolderName
|
* param string $sFolderName
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sFolderId, $sFolderName ) {
|
function __construct( $sNamespace, $sFolderId, $sFolderName ) {
|
||||||
@@ -148,7 +164,9 @@ class folderDetail {
|
|||||||
$this->sFolderName = $sFolderName;
|
$this->sFolderName = $sFolderName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class stepDetail {
|
class stepDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sStepId;
|
var $sStepId;
|
||||||
@@ -158,11 +176,11 @@ class stepDetail {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the stepDetail class
|
* This function is the constructor of the stepDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sStepId
|
* param string $sStepId
|
||||||
* @param string $sStepName
|
* param string $sStepName
|
||||||
* @param string $sStepTitle
|
* param string $sStepTitle
|
||||||
* @param string $sSetupStepPage
|
* param string $sSetupStepPage
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sStepId, $sStepName, $sStepTitle, $sSetupStepPage ) {
|
function __construct( $sNamespace, $sStepId, $sStepName, $sStepTitle, $sSetupStepPage ) {
|
||||||
@@ -173,7 +191,9 @@ class stepDetail {
|
|||||||
$this->sSetupStepPage = $sSetupStepPage;
|
$this->sSetupStepPage = $sSetupStepPage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class redirectDetail {
|
class redirectDetail {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sRoleCode;
|
var $sRoleCode;
|
||||||
@@ -181,9 +201,9 @@ class redirectDetail {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the redirectDetail class
|
* This function is the constructor of the redirectDetail class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sRoleCode
|
* param string $sRoleCode
|
||||||
* @param string $sPathMethod
|
* param string $sPathMethod
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sRoleCode, $sPathMethod ) {
|
function __construct( $sNamespace, $sRoleCode, $sPathMethod ) {
|
||||||
@@ -192,7 +212,9 @@ class redirectDetail {
|
|||||||
$this->sPathMethod = $sPathMethod;
|
$this->sPathMethod = $sPathMethod;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class folderData {
|
class folderData {
|
||||||
var $sProcessUid;
|
var $sProcessUid;
|
||||||
var $sProcessTitle;
|
var $sProcessTitle;
|
||||||
@@ -204,13 +226,13 @@ class folderData {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the folderData class
|
* This function is the constructor of the folderData class
|
||||||
* @param string $sProcessUid
|
* param string $sProcessUid
|
||||||
* @param string $sProcessTitle
|
* param string $sProcessTitle
|
||||||
* @param string $sApplicationUid
|
* param string $sApplicationUid
|
||||||
* @param string $sApplicationTitle
|
* param string $sApplicationTitle
|
||||||
* @param string $sUserUid
|
* param string $sUserUid
|
||||||
* @param string $sUserLogin
|
* param string $sUserLogin
|
||||||
* @param string $sUserFullName
|
* param string $sUserFullName
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sProcessUid, $sProcessTitle, $sApplicationUid, $sApplicationTitle, $sUserUid, $sUserLogin = '', $sUserFullName ='') {
|
function __construct( $sProcessUid, $sProcessTitle, $sApplicationUid, $sApplicationTitle, $sUserUid, $sUserLogin = '', $sUserFullName ='') {
|
||||||
@@ -223,7 +245,9 @@ class folderData {
|
|||||||
$this->sUserFullName = $sUserFullName;
|
$this->sUserFullName = $sUserFullName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class uploadDocumentData {
|
class uploadDocumentData {
|
||||||
var $sApplicationUid;
|
var $sApplicationUid;
|
||||||
var $sUserUid;
|
var $sUserUid;
|
||||||
@@ -235,12 +259,12 @@ class uploadDocumentData {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the uploadDocumentData class
|
* This function is the constructor of the uploadDocumentData class
|
||||||
* @param string $sApplicationUid
|
* param string $sApplicationUid
|
||||||
* @param string $sUserUid
|
* param string $sUserUid
|
||||||
* @param string $sFilename
|
* param string $sFilename
|
||||||
* @param string $sFileTitle
|
* param string $sFileTitle
|
||||||
* @param string $sDocumentUid
|
* param string $sDocumentUid
|
||||||
* @param integer $iVersion
|
* param integer $iVersion
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sApplicationUid, $sUserUid, $sFilename, $sFileTitle, $sDocumentUid, $iVersion = 1 ) {
|
function __construct( $sApplicationUid, $sUserUid, $sFilename, $sFileTitle, $sDocumentUid, $iVersion = 1 ) {
|
||||||
@@ -253,6 +277,9 @@ class uploadDocumentData {
|
|||||||
$this->iVersion = $iVersion;
|
$this->iVersion = $iVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class loginInfo {
|
class loginInfo {
|
||||||
var $lName;
|
var $lName;
|
||||||
var $lPassword;
|
var $lPassword;
|
||||||
@@ -260,9 +287,9 @@ class loginInfo {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the loginInfo class
|
* This function is the constructor of the loginInfo class
|
||||||
* @param string $lName
|
* param string $lName
|
||||||
* @param string $lPassword
|
* param string $lPassword
|
||||||
* @param string $lSession
|
* param string $lSession
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $lName, $lPassword, $lSession ) {
|
function __construct( $lName, $lPassword, $lSession ) {
|
||||||
@@ -271,7 +298,9 @@ class loginInfo {
|
|||||||
$this->lSession = $lSession;
|
$this->lSession = $lSession;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class caseSchedulerPlugin {
|
class caseSchedulerPlugin {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sActionId;
|
var $sActionId;
|
||||||
@@ -282,12 +311,12 @@ class caseSchedulerPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the caseSchedulerPlugin class
|
* This function is the constructor of the caseSchedulerPlugin class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sActionId
|
* param string $sActionId
|
||||||
* @param string $sActionForm
|
* param string $sActionForm
|
||||||
* @param string $sActionSave
|
* param string $sActionSave
|
||||||
* @param string $sActionExecute
|
* param string $sActionExecute
|
||||||
* $param string $sActionGetFields
|
* param string $sActionGetFields
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sActionId, $sActionForm, $sActionSave, $sActionExecute, $sActionGetFields ) {
|
function __construct( $sNamespace, $sActionId, $sActionForm, $sActionSave, $sActionExecute, $sActionGetFields ) {
|
||||||
@@ -299,6 +328,9 @@ class caseSchedulerPlugin {
|
|||||||
$this->sActionGetFields = $sActionGetFields;
|
$this->sActionGetFields = $sActionGetFields;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class taskExtendedProperty {
|
class taskExtendedProperty {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sPage;
|
var $sPage;
|
||||||
@@ -306,10 +338,10 @@ class taskExtendedProperty {
|
|||||||
var $sIcon;
|
var $sIcon;
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the taskExtendedProperty class
|
* This function is the constructor of the taskExtendedProperty class
|
||||||
* @param string $sNamespace
|
* param string $sNamespace
|
||||||
* @param string $sPage
|
* param string $sPage
|
||||||
* @param string $sName
|
* param string $sName
|
||||||
* @param string $sIcon
|
* param string $sIcon
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function __construct( $sNamespace, $sPage, $sName, $sIcon ) {
|
function __construct( $sNamespace, $sPage, $sName, $sIcon ) {
|
||||||
@@ -319,7 +351,9 @@ class taskExtendedProperty {
|
|||||||
$this->sIcon = $sIcon;
|
$this->sIcon = $sIcon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class PMPlugin {
|
class PMPlugin {
|
||||||
var $sNamespace;
|
var $sNamespace;
|
||||||
var $sClassName;
|
var $sClassName;
|
||||||
@@ -357,7 +391,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can register the dashboard
|
* With this function we can register the dashboard
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function registerDashboard( ) {
|
function registerDashboard( ) {
|
||||||
@@ -368,7 +402,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can register the report
|
* With this function we can register the report
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function registerReport( ) {
|
function registerReport( ) {
|
||||||
@@ -378,7 +412,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can register the pm's function
|
* With this function we can register the pm's function
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function registerPmFunction( ) {
|
function registerPmFunction( ) {
|
||||||
@@ -388,7 +422,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can set the company's logo
|
* With this function we can set the company's logo
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function setCompanyLogo( $filename ) {
|
function setCompanyLogo( $filename ) {
|
||||||
@@ -398,7 +432,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can register the pm's function
|
* With this function we can register the pm's function
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function redirectLogin( $role, $pathMethod ) {
|
function redirectLogin( $role, $pathMethod ) {
|
||||||
@@ -418,7 +452,7 @@ class PMPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* With this function we can register the steps
|
* With this function we can register the steps
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function registerStep($sStepId, $sStepName, $sStepTitle, $sSetupStepPage = '') {
|
function registerStep($sStepId, $sStepName, $sStepTitle, $sSetupStepPage = '') {
|
||||||
@@ -531,7 +565,7 @@ class PMPlugin {
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* With this function we can register a Case Scheduler Plugin/Addon
|
* With this function we can register a Case Scheduler Plugin/Addon
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function registerCaseSchedulerPlugin($sActionId, $sActionForm, $sActionSave, $sActionExecute, $sActionGetFields) {
|
function registerCaseSchedulerPlugin($sActionId, $sActionForm, $sActionSave, $sActionExecute, $sActionGetFields) {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.pluginRegistry.php
|
* class.pluginRegistry.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,9 +21,11 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*/
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class pluginDetail {
|
class pluginDetail {
|
||||||
@@ -66,6 +69,10 @@ class pluginDetail {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
class PMPluginRegistry {
|
class PMPluginRegistry {
|
||||||
private $_aPluginDetails = array();
|
private $_aPluginDetails = array();
|
||||||
private $_aPlugins = array();
|
private $_aPlugins = array();
|
||||||
@@ -87,14 +94,14 @@ class PMPluginRegistry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the PMPluginRegistry class
|
* This function is the constructor of the PMPluginRegistry class
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function __construct() {}
|
private function __construct() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is instancing to this class
|
* This function is instancing to this class
|
||||||
* @param
|
* param
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
function &getSingleton() {
|
function &getSingleton() {
|
||||||
@@ -106,7 +113,7 @@ class PMPluginRegistry {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function generates a storable representation of a value
|
* This function generates a storable representation of a value
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function serializeInstance() {
|
function serializeInstance() {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.pmFunctions.php
|
* class.pmFunctions.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,8 +22,8 @@
|
|||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
*
|
||||||
* /**
|
*
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.pmScript.php
|
* class.pmScript.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -83,7 +84,7 @@ if (file_exists($dir)){
|
|||||||
/**
|
/**
|
||||||
* PMScript - PMScript class
|
* PMScript - PMScript class
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class PMScript
|
class PMScript
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.popupMenu.php
|
* class.popupMenu.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -26,7 +27,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* popupMenu - popupMenu class
|
* popupMenu - popupMenu class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @copyright COLOSA
|
* @copyright COLOSA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class.processMap.php
|
* class.processMap.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
G::LoadThirdParty('pear/json', 'class.json');
|
G::LoadThirdParty('pear/json', 'class.json');
|
||||||
G::LoadClass('groups');
|
G::LoadClass('groups');
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.processes.php
|
* class.processes.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -20,8 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once 'classes/model/Content.php';
|
require_once 'classes/model/Content.php';
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.propelTable.php
|
* class.propelTable.php
|
||||||
|
* @package workflow.gulliver.system
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -30,10 +31,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class pagedTable
|
* Class pagedTable
|
||||||
* @author David S. Callizaya S. <davidsantos@colosa.com>
|
* @author David S. Callizaya S. <davidsantos@colosa.com> *
|
||||||
* @package workflow.gulliver.system
|
|
||||||
* @access public
|
* @access public
|
||||||
* @dependencies TemplatePower Form XmlForm
|
* @package workflow.gulliver.system
|
||||||
|
* dependencies TemplatePower Form XmlForm
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class propelTable
|
class propelTable
|
||||||
@@ -197,7 +198,7 @@ class propelTable
|
|||||||
* Function setupFromXmlform
|
* Function setupFromXmlform
|
||||||
*
|
*
|
||||||
* @author David S. Callizaya S. <davidsantos@colosa.com>
|
* @author David S. Callizaya S. <davidsantos@colosa.com>
|
||||||
* @editedby Hugo Loza <hugo@colosa.com>
|
* editedby Hugo Loza <hugo@colosa.com>
|
||||||
* @access public
|
* @access public
|
||||||
* @parameter string xmlForm
|
* @parameter string xmlForm
|
||||||
* @return string
|
* @return string
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.replacementLogo.php
|
* class.replacementLogo.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,10 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*/
|
||||||
* @package workflow.classes
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class replacementLogo {
|
class replacementLogo {
|
||||||
@@ -29,7 +32,7 @@ class replacementLogo {
|
|||||||
//var $dir='';
|
//var $dir='';
|
||||||
/**
|
/**
|
||||||
* This function is the constructor of the replacementLogo class
|
* This function is the constructor of the replacementLogo class
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function replacementLogo() {
|
function replacementLogo() {
|
||||||
@@ -78,7 +81,7 @@ class replacementLogo {
|
|||||||
*
|
*
|
||||||
* @name getNameLogo
|
* @name getNameLogo
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getNameLogo($usrUid) {
|
function getNameLogo($usrUid) {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.report.php
|
* class.report.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -26,7 +27,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Report - Report class
|
* Report - Report class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Everth S. Berrios Morales
|
* @author Everth S. Berrios Morales
|
||||||
* @copyright 2008 COLOSA
|
* @copyright 2008 COLOSA
|
||||||
*/
|
*/
|
||||||
@@ -39,7 +40,7 @@ class Report {
|
|||||||
*
|
*
|
||||||
* @name generatedReport1
|
* @name generatedReport1
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
function generatedReport1()
|
function generatedReport1()
|
||||||
@@ -257,7 +258,7 @@ class Report {
|
|||||||
*
|
*
|
||||||
* @name generatedReport2
|
* @name generatedReport2
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
function generatedReport2()
|
function generatedReport2()
|
||||||
@@ -672,7 +673,7 @@ class Report {
|
|||||||
*
|
*
|
||||||
* @name generatedReport4
|
* @name generatedReport4
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
function generatedReport4()
|
function generatedReport4()
|
||||||
@@ -961,7 +962,7 @@ class Report {
|
|||||||
*
|
*
|
||||||
* @name getAvailableReports
|
* @name getAvailableReports
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getAvailableReports()
|
function getAvailableReports()
|
||||||
@@ -975,7 +976,7 @@ class Report {
|
|||||||
*
|
*
|
||||||
* @name reportsPatch
|
* @name reportsPatch
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.reportTables.php
|
* class.reportTables.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -27,7 +28,7 @@ G::LoadClass('case');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ReportTables - Report tables class
|
* ReportTables - Report tables class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Julio Cesar Laura Avenda<64>o
|
* @author Julio Cesar Laura Avenda<64>o
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.serverConfiguration.php
|
* class.serverConfiguration.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.
|
* Copyright (C) 2004 - 2008 Colosa Inc.
|
||||||
@@ -20,8 +21,6 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
|
||||||
* @package workflow.ProcessMaker
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -29,6 +28,7 @@
|
|||||||
* @author Hugo Loza
|
* @author Hugo Loza
|
||||||
* @copyright 2010 COLOSA
|
* @copyright 2010 COLOSA
|
||||||
* @license GNU Affero General Public License
|
* @license GNU Affero General Public License
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class serverConf {
|
class serverConf {
|
||||||
private $_aProperties = array ();
|
private $_aProperties = array ();
|
||||||
@@ -61,7 +61,7 @@ class serverConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is instancing to this object
|
* This function is instancing to this object
|
||||||
* @param
|
* param
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
function &getSingleton() {
|
function &getSingleton() {
|
||||||
@@ -76,7 +76,7 @@ class serverConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function generates a storable representation of this obejct
|
* This function generates a storable representation of this obejct
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function serializeInstance() {
|
function serializeInstance() {
|
||||||
@@ -100,7 +100,7 @@ class serverConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This will save the object in the specified file (defined as a property of this class)
|
* This will save the object in the specified file (defined as a property of this class)
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ class serverConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to have a record of succesful logins to the system (total and by WS)
|
* Used to have a record of succesful logins to the system (total and by WS)
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function sucessfulLogin() {
|
function sucessfulLogin() {
|
||||||
@@ -194,7 +194,7 @@ class serverConf {
|
|||||||
/**
|
/**
|
||||||
* Check only if the server address or server name has changed,
|
* Check only if the server address or server name has changed,
|
||||||
* to send another beat in next minute.
|
* to send another beat in next minute.
|
||||||
* @param
|
* param
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function checkIfHostNameHasChanged() {
|
function checkIfHostNameHasChanged() {
|
||||||
@@ -212,7 +212,7 @@ class serverConf {
|
|||||||
/**
|
/**
|
||||||
* Will return a list of all WS in this system and their related information.
|
* Will return a list of all WS in this system and their related information.
|
||||||
* @uses getWorkspaceInfo
|
* @uses getWorkspaceInfo
|
||||||
* @param
|
* param
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getWSList() {
|
function getWSList() {
|
||||||
@@ -277,8 +277,8 @@ class serverConf {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Will list the plugins of the system
|
* Will list the plugins of the system
|
||||||
* @param
|
* param
|
||||||
* @retun array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function getPluginsList() {
|
function getPluginsList() {
|
||||||
return $this->pluginsA;
|
return $this->pluginsA;
|
||||||
@@ -317,9 +317,9 @@ class serverConf {
|
|||||||
return $sMySQLVersion;
|
return $sMySQLVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Will reset all the logins' count
|
* Will reset all the logins' count
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function resetLogins() {
|
function resetLogins() {
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.Sessions.php
|
* class.Sessions.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
require_once 'classes/model/Session.php';
|
require_once 'classes/model/Session.php';
|
||||||
/**
|
/**
|
||||||
* Sessions - Sessions class
|
* Sessions - Sessions class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Everth S. Berrios Morales
|
* @author Everth S. Berrios Morales
|
||||||
* @copyright 2008 COLOSA
|
* @copyright 2008 COLOSA
|
||||||
*/
|
*/
|
||||||
@@ -242,7 +243,7 @@ class Sessions {
|
|||||||
*
|
*
|
||||||
* @name deleteTmpfile
|
* @name deleteTmpfile
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function deleteTmpfile(){
|
private function deleteTmpfile(){
|
||||||
|
|||||||
@@ -1,302 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief smtp class to send emails. Requires an email server.
|
|
||||||
*
|
|
||||||
* @package Tomahawk_Mail
|
|
||||||
* @author Ian K Armstrong <ika@[REMOVE_THESE_CAPITALS]openmail.cc>
|
|
||||||
* @copyright Copyright (c) 2007, Ian K Armstrong
|
|
||||||
* @license http://www.opensource.org/licenses/gpl-3.0.html GNU Public License
|
|
||||||
* @link http://www.openmail.cc
|
|
||||||
*
|
|
||||||
* @category web_mail
|
|
||||||
* @subpackage mail
|
|
||||||
* @filesource
|
|
||||||
* @version
|
|
||||||
*
|
|
||||||
* @file class.smtp.php
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
// smtp authentication
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
// setSmtpAuthentication($sAuth)
|
|
||||||
// setUsername($sName)
|
|
||||||
// setPassword($sPass)
|
|
||||||
//-------------------------------------------------------------
|
|
||||||
|
|
||||||
class smtp
|
|
||||||
{
|
|
||||||
private $mail_server;
|
|
||||||
private $port;
|
|
||||||
private $return_path;
|
|
||||||
private $envelope_to;
|
|
||||||
private $status;
|
|
||||||
private $headers;
|
|
||||||
private $body;
|
|
||||||
private $log;
|
|
||||||
private $with_auth;
|
|
||||||
private $username;
|
|
||||||
private $password;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function __construct
|
|
||||||
* Constructor of the class
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
function __construct()
|
|
||||||
{
|
|
||||||
$this->status = false;
|
|
||||||
$this->with_auth = false; // change to 'true' to use smtp authentication
|
|
||||||
$this->username = ''; // needed for smtp authentication
|
|
||||||
$this->password = ''; // needed for smtp authentication
|
|
||||||
$this->mail_server = @gethostbyaddr('127.0.0.1');
|
|
||||||
$this->port = 25;
|
|
||||||
$this->return_path = '';
|
|
||||||
$this->envelope_to = array();
|
|
||||||
$this->headers = '';
|
|
||||||
$this->body = '';
|
|
||||||
$this->log = array();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setServer
|
|
||||||
* This sets the server used for sending mail
|
|
||||||
* @param string $sServer
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setServer($sServer)
|
|
||||||
{
|
|
||||||
if(($sAux = @gethostbyaddr($sServer)))
|
|
||||||
$sServer = $sAux;
|
|
||||||
$this->mail_server = $sServer;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setPort
|
|
||||||
* This sets the port used for sending mail
|
|
||||||
* @param string $iPort
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setPort($iPort)
|
|
||||||
{
|
|
||||||
$this->port = ($iPort != '' ? (int)$iPort : 25);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setReturnPath
|
|
||||||
* This function sets the return path
|
|
||||||
* @param string $sReturnPath
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setReturnPath($sReturnPath)
|
|
||||||
{
|
|
||||||
$this->return_path = $sReturnPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setHeaders
|
|
||||||
* This sets the headers of the mail to be sent
|
|
||||||
* @param string $sHeaders
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setHeaders($sHeaders)
|
|
||||||
{
|
|
||||||
$this->headers = $sHeaders;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setBody
|
|
||||||
* This sets the mail body
|
|
||||||
* @param string $sBody
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setBody($sBody)
|
|
||||||
{
|
|
||||||
$this->body = $sBody;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setSmtpAuthentication
|
|
||||||
* This function sets the Smtp Authentication
|
|
||||||
* @param string $sAuth
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setSmtpAuthentication($sAuth)
|
|
||||||
{
|
|
||||||
$this->with_auth = $sAuth;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setUsername
|
|
||||||
* This function sets the user name
|
|
||||||
* @param string $sName
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setUsername($sName)
|
|
||||||
{
|
|
||||||
$this->username = $sName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setPassword
|
|
||||||
* This function sets the password
|
|
||||||
* @param string $sPass
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setPassword($sPass)
|
|
||||||
{
|
|
||||||
$this->password = $sPass;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function returnErrors
|
|
||||||
* This Function returns errors
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function returnErrors()
|
|
||||||
{
|
|
||||||
return $this->log;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function returnStatus
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function returnStatus()
|
|
||||||
{
|
|
||||||
return $this->status;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function setEnvelopeTo
|
|
||||||
* @param string $env_to
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function setEnvelopeTo($env_to)
|
|
||||||
{
|
|
||||||
if(count($env_to)>0){
|
|
||||||
foreach($env_to as $val){
|
|
||||||
(false !== ($p = strpos($val,'<')))
|
|
||||||
? $this->envelope_to[] = trim(substr($val,$p))
|
|
||||||
: $this->envelope_to[] = trim($val);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function sendMessage
|
|
||||||
* This function is responsible for sending the message
|
|
||||||
* @return boolean
|
|
||||||
*/
|
|
||||||
public function sendMessage()
|
|
||||||
{
|
|
||||||
// connect
|
|
||||||
$errno = $errstr = '';
|
|
||||||
$cp = @fsockopen("$this->mail_server", $this->port, $errno, $errstr, 1);
|
|
||||||
if(!$cp){
|
|
||||||
$this->log[] = 'Failed to make a connection';
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '220'){
|
|
||||||
$this->log[] = $res.' Failed to connect';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if(false !== $this->with_auth){
|
|
||||||
// say EHLO - works with SMTP and ESMTP servers
|
|
||||||
fputs($cp, 'EHLO '."$this->mail_server\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '250'){
|
|
||||||
$this->log[] = $res.' Failed to say EHLO';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// Request Authentication
|
|
||||||
fputs($cp, 'AUTH LOGIN'."\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '334'){
|
|
||||||
$this->log[] = $res.' Auth Login Failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// Send Username
|
|
||||||
fputs($cp, base64_encode($this->username)."\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '334'){
|
|
||||||
$this->log[] = $res.' Username failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// Send Password
|
|
||||||
fputs($cp, base64_encode($this->password)."\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '235'){
|
|
||||||
$this->log[] = $res.' Password failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else{// without smtp authentication
|
|
||||||
// say HELO
|
|
||||||
fputs($cp, 'HELO '."$this->mail_server\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '250'){
|
|
||||||
$this->log[] = $res.' Failed to say HELO';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// mail from
|
|
||||||
fputs($cp, 'MAIL FROM: '."$this->return_path\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '250'){
|
|
||||||
$this->log[] = $res.' MAIL FROM failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// mail to
|
|
||||||
foreach($this->envelope_to as $val){
|
|
||||||
fputs($cp, 'RCPT TO: '."$val\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '250'){
|
|
||||||
$this->log[] = $res.' RCPT TO failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// data
|
|
||||||
fputs($cp, 'DATA'."\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '354'){
|
|
||||||
$this->log[] = $res.' DATA failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// send headers
|
|
||||||
fputs($cp, "$this->headers\r\n");
|
|
||||||
// send body
|
|
||||||
fputs($cp, "$this->body\r\n");
|
|
||||||
// end of message
|
|
||||||
fputs($cp, "\r\n.\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '250'){
|
|
||||||
$this->log[] = $res. ' Message failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// quit
|
|
||||||
fputs($cp, 'QUIT'."\r\n");
|
|
||||||
$res = fgets($cp,256);
|
|
||||||
if(substr($res,0,3) != '221'){
|
|
||||||
$this->log[] = $res.' QUIT failed';
|
|
||||||
fclose($cp);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
fclose($cp);
|
|
||||||
$this->status = true;
|
|
||||||
}
|
|
||||||
} // end of class
|
|
||||||
?>
|
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.tasks.php
|
* class.tasks.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -46,7 +47,7 @@
|
|||||||
require_once ('classes/model/AppMessage.php');
|
require_once ('classes/model/AppMessage.php');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* upgrade_System.php
|
* upgrade_System.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,15 +21,15 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class system for workflow mantanance routines
|
* class system for workflow mantanance routines
|
||||||
*
|
*
|
||||||
* @uthor Erik A.O.<erik@colosa.com>
|
* author Erik A.O.<erik@colosa.com>
|
||||||
* @date May 12th, 2010
|
* date May 12th, 2010
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ class System {
|
|||||||
/**
|
/**
|
||||||
* List currently installed plugins
|
* List currently installed plugins
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array with the names of the plugins
|
* @return array with the names of the plugins
|
||||||
*/
|
*/
|
||||||
public static function getPlugins() {
|
public static function getPlugins() {
|
||||||
@@ -86,7 +86,7 @@ class System {
|
|||||||
/**
|
/**
|
||||||
* Get system information
|
* Get system information
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array with system information
|
* @return array with system information
|
||||||
*/
|
*/
|
||||||
public static function getSysInfo() {
|
public static function getSysInfo() {
|
||||||
@@ -190,7 +190,7 @@ class System {
|
|||||||
*
|
*
|
||||||
* @name verifyFileForUpgrade
|
* @name verifyFileForUpgrade
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function verifyFileForUpgrade()
|
function verifyFileForUpgrade()
|
||||||
@@ -214,7 +214,7 @@ class System {
|
|||||||
*
|
*
|
||||||
* @name getUpgradedFilesList
|
* @name getUpgradedFilesList
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function getUpgradedFilesList()
|
function getUpgradedFilesList()
|
||||||
@@ -244,7 +244,7 @@ class System {
|
|||||||
*
|
*
|
||||||
* @name verifyForBootstrapUpgrade
|
* @name verifyForBootstrapUpgrade
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
function verifyForBootstrapUpgrade()
|
function verifyForBootstrapUpgrade()
|
||||||
@@ -264,7 +264,7 @@ class System {
|
|||||||
*
|
*
|
||||||
* @name upgrade
|
* @name upgrade
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function upgrade()
|
function upgrade()
|
||||||
@@ -571,7 +571,7 @@ class System {
|
|||||||
*
|
*
|
||||||
* @name cleanupUpgradeDirectory
|
* @name cleanupUpgradeDirectory
|
||||||
*
|
*
|
||||||
* @param
|
* param
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
function cleanupUpgradeDirectory()
|
function cleanupUpgradeDirectory()
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.tasks.php
|
* class.tasks.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
@@ -20,9 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once 'classes/model/GroupUser.php';
|
require_once 'classes/model/GroupUser.php';
|
||||||
require_once 'classes/model/Groupwf.php';
|
require_once 'classes/model/Groupwf.php';
|
||||||
require_once 'classes/model/ObjectPermission.php';
|
require_once 'classes/model/ObjectPermission.php';
|
||||||
@@ -37,7 +37,7 @@ require_once 'classes/model/Gateway.php';
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Tasks - Tasks class
|
* Tasks - Tasks class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
* @author Julio Cesar Laura Avenda<64>o
|
* @author Julio Cesar Laura Avenda<64>o
|
||||||
* @copyright 2007 COLOSA
|
* @copyright 2007 COLOSA
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.toolBar.php
|
* class.toolBar.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ToolBar - ToolBar class
|
* ToolBar - ToolBar class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class ToolBar extends form
|
class ToolBar extends form
|
||||||
{
|
{
|
||||||
@@ -35,7 +36,7 @@ class ToolBar extends form
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* XmlForm_Field_ToolBar - XmlForm_Field_ToolBar class
|
* XmlForm_Field_ToolBar - XmlForm_Field_ToolBar class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class XmlForm_Field_ToolBar extends XmlForm_Field
|
class XmlForm_Field_ToolBar extends XmlForm_Field
|
||||||
{
|
{
|
||||||
@@ -78,7 +79,7 @@ class XmlForm_Field_ToolBar extends XmlForm_Field
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* XmlForm_Field_toolButton - XmlForm_Field_toolButton class
|
* XmlForm_Field_toolButton - XmlForm_Field_toolButton class
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class XmlForm_Field_toolButton extends XmlForm_Field
|
class XmlForm_Field_toolButton extends XmlForm_Field
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hugo Loza <hugo@colosa.com>
|
* @author Hugo Loza <hugo@colosa.com>
|
||||||
*
|
*
|
||||||
* This class Helps registering and implementing Wizard for Triggers
|
* This class Helps registering and implementing Wizard for Triggers
|
||||||
* @package workflow.ProcessMaker
|
|
||||||
*/
|
*/
|
||||||
G::LoadThirdParty ( 'html2ps_pdf/classes', 'include' );
|
G::LoadThirdParty ( 'html2ps_pdf/classes', 'include' );
|
||||||
G::LoadThirdParty ( 'html2ps_pdf/classes/org/active-link/doc', 'PHPClass' );
|
G::LoadThirdParty ( 'html2ps_pdf/classes/org/active-link/doc', 'PHPClass' );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
|
*/
|
||||||
|
|
||||||
class triggerLibrary {
|
class triggerLibrary {
|
||||||
|
|
||||||
private $_aTriggerClasses_ = array ();
|
private $_aTriggerClasses_ = array ();
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* class.webdav.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
require_once "HTTP/WebDAV/Server.php";
|
require_once "HTTP/WebDAV/Server.php";
|
||||||
require_once "System.php";
|
require_once "System.php";
|
||||||
@@ -7,7 +11,7 @@ require_once "System.php";
|
|||||||
* ProcessMaker Filesystem access using WebDAV
|
* ProcessMaker Filesystem access using WebDAV
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class ProcessMakerWebDav extends HTTP_WebDAV_Server
|
class ProcessMakerWebDav extends HTTP_WebDAV_Server
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.wsBase.php
|
* class.wsBase.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,9 +21,6 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*
|
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -66,9 +64,10 @@
|
|||||||
/**
|
/**
|
||||||
* Copyright (C) 2009 COLOSA
|
* Copyright (C) 2009 COLOSA
|
||||||
* License: LGPL, see LICENSE
|
* License: LGPL, see LICENSE
|
||||||
* @Last Modify: 26.06.2008 10:05:00
|
* Last Modify: 26.06.2008 10:05:00
|
||||||
* @Last modify by: Erik Amaru Ortiz <erik@colosa.com>
|
* Last modify by: Erik Amaru Ortiz <erik@colosa.com>
|
||||||
* @Last Modify comment(26.06.2008): the session expired verification was removed from here to soap class
|
* Last Modify comment(26.06.2008): the session expired verification was removed from here to soap class
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wsBase
|
class wsBase
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.wsResponse.php
|
* class.wsResponse.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,10 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*/
|
||||||
* @package workflow.classes
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class wsResponse
|
class wsResponse
|
||||||
@@ -72,6 +75,7 @@ class wsResponse
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class wsCreateUserResponse
|
* Class wsCreateUserResponse
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class wsCreateUserResponse
|
class wsCreateUserResponse
|
||||||
{
|
{
|
||||||
@@ -99,6 +103,7 @@ class wsCreateUserResponse
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class wsCreateGroupResponse
|
* Class wsCreateGroupResponse
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class wsCreateGroupResponse
|
class wsCreateGroupResponse
|
||||||
{
|
{
|
||||||
@@ -126,6 +131,7 @@ class wsCreateGroupResponse
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class wsCreateDepartmentResponse
|
* Class wsCreateDepartmentResponse
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class wsCreateDepartmentResponse
|
class wsCreateDepartmentResponse
|
||||||
{
|
{
|
||||||
@@ -152,6 +158,7 @@ class wsCreateDepartmentResponse
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Class wsGetVariableResponse
|
* Class wsGetVariableResponse
|
||||||
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
class wsGetVariableResponse
|
class wsGetVariableResponse
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility functions to manage a workspace.
|
* Utility functions to manage a workspace.
|
||||||
*
|
*
|
||||||
* @author Alexandre Rosenfeld
|
* @author Alexandre Rosenfeld
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G::LoadSystem('dbMaintenance');
|
G::LoadSystem('dbMaintenance');
|
||||||
G::LoadClass("cli");
|
G::LoadClass("cli");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
* class workspaceTools
|
||||||
|
*/
|
||||||
|
|
||||||
class workspaceTools {
|
class workspaceTools {
|
||||||
var $name = NULL;
|
var $name = NULL;
|
||||||
var $path = NULL;
|
var $path = NULL;
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.xmlDb.php
|
* class.xmlDb.php
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -24,14 +25,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* XMLDB
|
* XMLDB
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
*
|
*
|
||||||
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
* @package workflow.ProcessMaker
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class XMLDB
|
class XMLDB
|
||||||
{
|
{
|
||||||
@@ -73,6 +73,7 @@ class XMLDB
|
|||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
*
|
*
|
||||||
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class XMLConnection
|
class XMLConnection
|
||||||
{
|
{
|
||||||
@@ -567,6 +568,7 @@ class XMLConnection
|
|||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
*
|
*
|
||||||
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
* @copyright (C) 2004 - 2008 Colosa Inc.23
|
||||||
|
* @package workflow.engine.ProcessMaker
|
||||||
*/
|
*/
|
||||||
class XMLResult
|
class XMLResult
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.xmlfield_Image.php
|
* class.xmlfield_Image.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,12 +21,15 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// DEPRECATED this class is also part of the xmlform package this class will be also removed
|
// DEPRECATED this class is also part of the xmlform package this class will be also removed
|
||||||
// in future releases of pm, its discouraged the inclusion this class in the future from a
|
// in future releases of pm, its discouraged the inclusion this class in the future from a
|
||||||
// external file like this
|
// external file like this
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
|
|
||||||
class XmlForm_Field_Image extends XmlForm_Field
|
class XmlForm_Field_Image extends XmlForm_Field
|
||||||
{
|
{
|
||||||
var $file = '';
|
var $file = '';
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* class.xmlfield_InputPM.php
|
* class.xmlfield_InputPM.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -20,8 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
*
|
||||||
* @package workflow.classes
|
* @package workflow.engine.classes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class XmlForm_Field_TextPM extends XmlForm_Field_SimpleText
|
class XmlForm_Field_TextPM extends XmlForm_Field_SimpleText
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* class.xpdl.php
|
* class.xpdl.php
|
||||||
|
* @package workflow.engine.classes
|
||||||
*
|
*
|
||||||
* ProcessMaker Open Source Edition
|
* ProcessMaker Open Source Edition
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
* Copyright (C) 2004 - 2011 Colosa Inc.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* it under the terms of the GNU Affero General Public License as
|
||||||
@@ -21,9 +21,8 @@
|
|||||||
*
|
*
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
* /**
|
|
||||||
* @package workflow.classes
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G::LoadClass('processes');
|
G::LoadClass('processes');
|
||||||
G::LoadClass('tasks');
|
G::LoadClass('tasks');
|
||||||
G::LoadClass('derivation');
|
G::LoadClass('derivation');
|
||||||
@@ -31,6 +30,10 @@ require_once 'classes/model/Users.php';
|
|||||||
require_once 'classes/model/Configuration.php';
|
require_once 'classes/model/Configuration.php';
|
||||||
require_once 'classes/model/Gateway.php';
|
require_once 'classes/model/Gateway.php';
|
||||||
require_once 'classes/model/Event.php';
|
require_once 'classes/model/Event.php';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package workflow.engine.classes
|
||||||
|
*/
|
||||||
class Xpdl extends processes
|
class Xpdl extends processes
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user