Merged in feature/HOR-3769 (pull request #6018)
HOR-3769 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -284,6 +284,7 @@ function processWorkspace()
|
||||
{
|
||||
try {
|
||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||
$oPluginRegistry->init();
|
||||
|
||||
global $sObject;
|
||||
global $sLastExecution;
|
||||
|
||||
@@ -19,13 +19,49 @@ class Net
|
||||
public function __construct()
|
||||
{
|
||||
$a = func_get_args();
|
||||
$f = "__construct" . func_num_args();
|
||||
$f = "init" . func_num_args();
|
||||
|
||||
if (method_exists($this, $f)) {
|
||||
call_user_func_array(array($this, $f), $a);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is the constructor of the class net
|
||||
*
|
||||
* return void
|
||||
*/
|
||||
protected function init0()
|
||||
{
|
||||
$this->errno = 0;
|
||||
$this->error = "";
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is the constructor of the class net
|
||||
*
|
||||
* @param string $pHost
|
||||
* @return void
|
||||
*/
|
||||
protected function init1($pHost)
|
||||
{
|
||||
$this->errno = 0;
|
||||
$this->errstr = "";
|
||||
$this->db_instance = "";
|
||||
|
||||
unset($this->db_user);
|
||||
unset($this->db_passwd);
|
||||
unset($this->db_sourcename);
|
||||
|
||||
#verifing valid param
|
||||
if ($pHost == "") {
|
||||
$this->errno = 1000;
|
||||
$this->errstr = "NET::You must specify a host";
|
||||
//$this->showMsg();
|
||||
}
|
||||
$this->resolv($pHost);
|
||||
}
|
||||
|
||||
/**
|
||||
* This function puts a host
|
||||
*
|
||||
|
||||
6
workflow/engine/classes/class.AppDocumentDrive.php
Normal file
6
workflow/engine/classes/class.AppDocumentDrive.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
7
workflow/engine/classes/class.AppSolr.php
Normal file
7
workflow/engine/classes/class.AppSolr.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.ArrayPeer.php
Normal file
7
workflow/engine/classes/class.ArrayPeer.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.BasePeer.php
Normal file
7
workflow/engine/classes/class.BasePeer.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.Installer.php
Normal file
7
workflow/engine/classes/class.Installer.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
6
workflow/engine/classes/class.Upgrade.php
Normal file
6
workflow/engine/classes/class.Upgrade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
7
workflow/engine/classes/class.actionsByEmailCore.php
Normal file
7
workflow/engine/classes/class.actionsByEmailCore.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.applications.php
Normal file
7
workflow/engine/classes/class.applications.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.archive.php
Normal file
7
workflow/engine/classes/class.archive.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.calendar.php
Normal file
7
workflow/engine/classes/class.calendar.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.case.php
Normal file
7
workflow/engine/classes/class.case.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.cli.php
Normal file
7
workflow/engine/classes/class.cli.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.configuration.php
Normal file
7
workflow/engine/classes/class.configuration.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.consolidatedCases.php
Normal file
7
workflow/engine/classes/class.consolidatedCases.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dashboards.php
Normal file
7
workflow/engine/classes/class.dashboards.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dashletOpenVSCompleted.php
Normal file
7
workflow/engine/classes/class.dashletOpenVSCompleted.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dashletRssReader.php
Normal file
7
workflow/engine/classes/class.dashletRssReader.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dates.php
Normal file
7
workflow/engine/classes/class.dates.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dbConnections.php
Normal file
7
workflow/engine/classes/class.dbConnections.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.derivation.php
Normal file
7
workflow/engine/classes/class.derivation.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dynaFormField.php
Normal file
7
workflow/engine/classes/class.dynaFormField.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.dynaformEditor.php
Normal file
7
workflow/engine/classes/class.dynaformEditor.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.enterprise.php
Normal file
7
workflow/engine/classes/class.enterprise.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.enterpriseUtils.php
Normal file
7
workflow/engine/classes/class.enterpriseUtils.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.fieldValidator.php
Normal file
7
workflow/engine/classes/class.fieldValidator.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.fileCache.php
Normal file
7
workflow/engine/classes/class.fileCache.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.formBatchRouting.php
Normal file
7
workflow/engine/classes/class.formBatchRouting.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.groupUser.php
Normal file
7
workflow/engine/classes/class.groupUser.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.groups.php
Normal file
7
workflow/engine/classes/class.groups.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.indicatorsCalculator.php
Normal file
7
workflow/engine/classes/class.indicatorsCalculator.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.javaBridgePM.php
Normal file
7
workflow/engine/classes/class.javaBridgePM.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.labelsGmail.php
Normal file
7
workflow/engine/classes/class.labelsGmail.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.ldapAdvanced.php
Normal file
7
workflow/engine/classes/class.ldapAdvanced.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.license.app.php
Normal file
7
workflow/engine/classes/class.license.app.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.license.lib.php
Normal file
7
workflow/engine/classes/class.license.lib.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.licensedFeatures.php
Normal file
7
workflow/engine/classes/class.licensedFeatures.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.memcached.php
Normal file
7
workflow/engine/classes/class.memcached.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.multipleFilesBackup.php
Normal file
7
workflow/engine/classes/class.multipleFilesBackup.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.net.php
Normal file
7
workflow/engine/classes/class.net.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.patch.php
Normal file
7
workflow/engine/classes/class.patch.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pluginRegistry.php
Normal file
7
workflow/engine/classes/class.pluginRegistry.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmDashlet.php
Normal file
7
workflow/engine/classes/class.pmDashlet.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmDrive.php
Normal file
7
workflow/engine/classes/class.pmDrive.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmDynaform.php
Normal file
7
workflow/engine/classes/class.pmDynaform.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmGauge.php
Normal file
7
workflow/engine/classes/class.pmGauge.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmGoogleApi.php
Normal file
7
workflow/engine/classes/class.pmGoogleApi.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmLicenseManager.php
Normal file
7
workflow/engine/classes/class.pmLicenseManager.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmPhing.php
Normal file
7
workflow/engine/classes/class.pmPhing.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
@@ -57,19 +57,6 @@ if (defined('SYS_SYS') && (!defined('PATH_DATA_SITE') || !defined('PATH_WORKSPAC
|
||||
Bootstrap::setConstantsRelatedWs(SYS_SYS);
|
||||
}
|
||||
|
||||
//call plugin
|
||||
if (class_exists( 'folderData' )) {
|
||||
//$folderData = new folderData($sProUid, $proFields['PRO_TITLE'], $sAppUid, $Fields['APP_TITLE'], $sUsrUid);
|
||||
$oPluginRegistry = PluginRegistry::loadSingleton();
|
||||
$aAvailablePmFunctions = $oPluginRegistry->getPmFunctions();
|
||||
foreach ($aAvailablePmFunctions as $key => $class) {
|
||||
$filePlugin = PATH_PLUGINS . $class . PATH_SEP . 'classes' . PATH_SEP . 'class.pmFunctions.php';
|
||||
if (file_exists( $filePlugin )) {
|
||||
include_once ($filePlugin);
|
||||
}
|
||||
}
|
||||
}
|
||||
//end plugin
|
||||
//Add External Triggers
|
||||
$dir = G::ExpandPath( "classes" ) . 'triggers';
|
||||
$filesArray = array ();
|
||||
|
||||
7
workflow/engine/classes/class.pmSso.php
Normal file
7
workflow/engine/classes/class.pmSso.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.pmTable.php
Normal file
7
workflow/engine/classes/class.pmTable.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.popupMenu.php
Normal file
7
workflow/engine/classes/class.popupMenu.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.processMap.php
Normal file
7
workflow/engine/classes/class.processMap.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.processes.php
Normal file
7
workflow/engine/classes/class.processes.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.propelTable.php
Normal file
7
workflow/engine/classes/class.propelTable.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.replacementLogo.php
Normal file
7
workflow/engine/classes/class.replacementLogo.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.report.php
Normal file
7
workflow/engine/classes/class.report.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.reportTables.php
Normal file
7
workflow/engine/classes/class.reportTables.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.searchIndex.php
Normal file
7
workflow/engine/classes/class.searchIndex.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.serverConfiguration.php
Normal file
7
workflow/engine/classes/class.serverConfiguration.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.sessions.php
Normal file
7
workflow/engine/classes/class.sessions.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.solr.php
Normal file
7
workflow/engine/classes/class.solr.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.spool.php
Normal file
7
workflow/engine/classes/class.spool.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.system.php
Normal file
7
workflow/engine/classes/class.system.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.tasks.php
Normal file
7
workflow/engine/classes/class.tasks.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.toolBar.php
Normal file
7
workflow/engine/classes/class.toolBar.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.triggerLibrary.php
Normal file
7
workflow/engine/classes/class.triggerLibrary.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
use ProcessMaker\Core\System;
|
||||
|
||||
require_once "HTTP/WebDAV/Server.php";
|
||||
require_once "System.php";
|
||||
|
||||
/**
|
||||
* ProcessMaker Filesystem access using WebDAV
|
||||
@@ -745,7 +744,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
|
||||
if (is_dir($path)) {
|
||||
$query = "DELETE FROM properties WHERE path LIKE '" . $this->_slashify($options["path"]) . "%'";
|
||||
mysql_query($query);
|
||||
System::rm("-rf $path");
|
||||
PearSystem::rm("-rf $path");
|
||||
} else {
|
||||
unlink($path);
|
||||
}
|
||||
@@ -848,7 +847,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
|
||||
mysql_query($query);
|
||||
} else {
|
||||
if (is_dir($source)) {
|
||||
$files = System::find($source);
|
||||
$files = PearSystem::find($source);
|
||||
$files = array_reverse($files);
|
||||
} else {
|
||||
$files = array($source
|
||||
|
||||
7
workflow/engine/classes/class.wsBase.php
Normal file
7
workflow/engine/classes/class.wsBase.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.wsResponse.php
Normal file
7
workflow/engine/classes/class.wsResponse.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.wsTools.php
Normal file
7
workflow/engine/classes/class.wsTools.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.xmlDb.php
Normal file
7
workflow/engine/classes/class.xmlDb.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.xmlfield_Image.php
Normal file
7
workflow/engine/classes/class.xmlfield_Image.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/class.xmlfield_InputPM.php
Normal file
7
workflow/engine/classes/class.xmlfield_InputPM.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
7
workflow/engine/classes/interfaces/dashletInterface.php
Normal file
7
workflow/engine/classes/interfaces/dashletInterface.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Maintained for compatibility reasons.
|
||||
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
|
||||
*/
|
||||
|
||||
@@ -503,4 +503,26 @@ class ListParticipatedLast extends BaseListParticipatedLast
|
||||
|
||||
return (int) $aRow['TOTAL'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated This function is deprecated, it hasn’t been removed because of its compatibility with the External Registration plugin
|
||||
* @param $where
|
||||
* @param $set
|
||||
* @return void
|
||||
*/
|
||||
public function updateCurrentUser($where, $set)
|
||||
{
|
||||
$con = Propel::getConnection('workflow');
|
||||
//Update - WHERE
|
||||
$criteriaWhere = new Criteria('workflow');
|
||||
$criteriaWhere->add(ListParticipatedLastPeer::APP_UID, $where['APP_UID'], Criteria::EQUAL);
|
||||
$criteriaWhere->add(ListParticipatedLastPeer::USR_UID, $where['USR_UID'], Criteria::EQUAL);
|
||||
$criteriaWhere->add(ListParticipatedLastPeer::DEL_INDEX, $where['DEL_INDEX'], Criteria::EQUAL);
|
||||
//Update - SET
|
||||
$criteriaSet = new Criteria('workflow');
|
||||
foreach ($set as $k => $v) {
|
||||
eval('$criteriaSet->add( ListParticipatedLastPeer::' . $k . ',$v, Criteria::EQUAL);');
|
||||
}
|
||||
BasePeer::doUpdate($criteriaWhere, $criteriaSet, $con);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1427,7 +1427,7 @@ class adminProxy extends HttpProxyController
|
||||
}
|
||||
|
||||
//Database server Version (MySQL version)
|
||||
$installer = new Installer();
|
||||
$installer = new InstallerModule();
|
||||
$systemInfo = $installer->getSystemInfo();
|
||||
try {
|
||||
$params['mysql'] = mysql_get_server_info();
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
<?php
|
||||
|
||||
use ProcessMaker\Core\System;
|
||||
|
||||
global $translation;
|
||||
|
||||
include PATH_LANGUAGECONT . "translation." . SYS_LANG;
|
||||
|
||||
class Installer extends Controller
|
||||
class InstallerModule extends Controller
|
||||
{
|
||||
public $path_config;
|
||||
public $path_languages;
|
||||
|
||||
@@ -26,7 +26,7 @@ switch ($option) {
|
||||
default:
|
||||
require_once (PATH_CONTROLLERS . "installer.php");
|
||||
|
||||
$installer = new Installer();
|
||||
$installer = new InstallerModule();
|
||||
|
||||
$systemInfo = $installer->getSystemInfo();
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@ namespace ProcessMaker\BusinessModel\Cases;
|
||||
use Propel;
|
||||
use StdClass;
|
||||
use G;
|
||||
use Cases;
|
||||
use Cases as ClassesCase;
|
||||
use AppDocument;
|
||||
use Dynaform;
|
||||
use Exception;
|
||||
use Task;
|
||||
use Task as ClassesTask;
|
||||
|
||||
/**
|
||||
* Return the ChangeLog of a Dynaform
|
||||
@@ -166,7 +166,7 @@ class ChangeLog
|
||||
$title = $obj->getDynTitle();
|
||||
break;
|
||||
case 'TASK':
|
||||
$obj = new Task();
|
||||
$obj = new ClassesTask();
|
||||
$obj->load($uid);
|
||||
$title = $obj->getTasTitle();
|
||||
break;
|
||||
@@ -178,7 +178,7 @@ class ChangeLog
|
||||
|
||||
private function loadPermissions($APP_UID, $PRO_UID, $TAS_UID)
|
||||
{
|
||||
$oCase = new Cases();
|
||||
$oCase = new ClassesCases();
|
||||
$this->permissions = $oCase->getAllObjects(
|
||||
$PRO_UID, $APP_UID, $TAS_UID, $_SESSION['USER_LOGGED']
|
||||
);
|
||||
|
||||
@@ -3,7 +3,6 @@ namespace ProcessMaker\BusinessModel;
|
||||
|
||||
use Behat\Behat\Exception\Exception;
|
||||
use \G;
|
||||
use \Cases;
|
||||
use \Criteria;
|
||||
use \ObjectPermissionPeer;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ use BasePeer;
|
||||
use Bootstrap;
|
||||
use Calendar;
|
||||
use CalendarDefinitionPeer;
|
||||
use Cases;
|
||||
use Cases as ClassesCases;
|
||||
use Configurations;
|
||||
use Criteria;
|
||||
use DashletInstancePeer;
|
||||
@@ -1066,7 +1066,7 @@ class User
|
||||
//Verify data
|
||||
$this->throwExceptionIfNotExistsUser($usrUid, $this->arrayFieldNameForException["usrUid"]);
|
||||
|
||||
$oProcessMap = new Cases();
|
||||
$oProcessMap = new ClassesCases();
|
||||
$USR_UID = $usrUid;
|
||||
$total = 0;
|
||||
$history = 0;
|
||||
|
||||
@@ -31,6 +31,7 @@ use ProcessMaker\Plugins\Interfaces\TaskExtendedProperty;
|
||||
use ProcessMaker\Plugins\Interfaces\ToolbarDetail;
|
||||
use ProcessMaker\Plugins\Interfaces\TriggerDetail;
|
||||
use ProcessMaker\Plugins\Traits\Attributes;
|
||||
use ProcessMaker\Plugins\Traits\Init;
|
||||
use ProcessMaker\Plugins\Traits\PluginStructure;
|
||||
use Publisher;
|
||||
use stdClass;
|
||||
@@ -43,6 +44,7 @@ class PluginRegistry
|
||||
{
|
||||
use PluginStructure;
|
||||
use Attributes;
|
||||
use Init;
|
||||
|
||||
const NAME_CACHE = SYS_SYS . __CLASS__;
|
||||
/**
|
||||
|
||||
33
workflow/engine/src/ProcessMaker/Plugins/Traits/Init.php
Normal file
33
workflow/engine/src/ProcessMaker/Plugins/Traits/Init.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace ProcessMaker\Plugins\Traits;
|
||||
|
||||
/**
|
||||
* Trait Init
|
||||
* @package ProcessMaker\Plugins\Traits
|
||||
*/
|
||||
trait Init
|
||||
{
|
||||
/**
|
||||
* Initialization of functions and others of a plugin
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->initFunction();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialization of plugin pmFunctions
|
||||
*/
|
||||
private function initFunction()
|
||||
{
|
||||
$pmFunctions = $this->getPmFunctions();
|
||||
foreach ($pmFunctions as $namespace) {
|
||||
$filePmFunctions = PATH_PLUGINS . $namespace . PATH_SEP . 'classes' . PATH_SEP . 'class.pmFunctions.php';
|
||||
if (file_exists($filePmFunctions) && $this->isEnable($namespace)) {
|
||||
include_once($filePmFunctions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
namespace ProcessMaker\Project;
|
||||
|
||||
use \Criteria;
|
||||
use Criteria;
|
||||
use ProcessMaker\Plugins\PluginRegistry;
|
||||
use \ResultSet;
|
||||
use ResultSet;
|
||||
|
||||
use \Process;
|
||||
use \Tasks;
|
||||
use \Task;
|
||||
use \Route;
|
||||
use \RoutePeer;
|
||||
use Process as ClassesProcess;
|
||||
use Tasks;
|
||||
use Task as ClassesTask;
|
||||
use Route;
|
||||
use RoutePeer;
|
||||
|
||||
use ProcessMaker\Util\Common;
|
||||
use ProcessMaker\Exception;
|
||||
@@ -38,7 +38,7 @@ class Workflow extends Handler
|
||||
$me = new self();
|
||||
|
||||
try {
|
||||
$process = new Process();
|
||||
$process = new ClassesProcess();
|
||||
$processData = $process->load($proUid);
|
||||
} catch (\Exception $e) {
|
||||
if (is_null(\ProcessPeer::retrieveByPK($proUid))) {
|
||||
@@ -80,7 +80,7 @@ class Workflow extends Handler
|
||||
}
|
||||
|
||||
// Create project
|
||||
$process = new Process();
|
||||
$process = new ClassesProcess();
|
||||
$this->proUid = $process->create($data, false);
|
||||
|
||||
// Call Plugins
|
||||
@@ -106,7 +106,7 @@ class Workflow extends Handler
|
||||
|
||||
public function update($data)
|
||||
{
|
||||
$process = new Process();
|
||||
$process = new ClassesProcess();
|
||||
$data["PRO_UID"] = $this->getUid();
|
||||
$process->update($data);
|
||||
}
|
||||
@@ -137,7 +137,7 @@ class Workflow extends Handler
|
||||
public static function getList($start = null, $limit = null, $filter = "", $changeCaseTo = CASE_UPPER)
|
||||
{
|
||||
//return Project::getAll($start, $limit, $filter, $changeCaseTo);
|
||||
$process = new Process();
|
||||
$process = new ClassesProcess();
|
||||
$processes = $process->getAllProcesses($start, $limit);
|
||||
//$processes = $process->getAll();
|
||||
|
||||
@@ -182,7 +182,7 @@ class Workflow extends Handler
|
||||
|
||||
try {
|
||||
self::log("Add Task with data: ", $taskData);
|
||||
$task = new Task();
|
||||
$task = new ClassesTask();
|
||||
$tasUid = $task->create($taskData, false);
|
||||
self::log("Add Task Success!");
|
||||
|
||||
@@ -203,7 +203,7 @@ class Workflow extends Handler
|
||||
{
|
||||
try {
|
||||
self::log("Update Task: $tasUid", "With data: ", $taskData);
|
||||
$task = new Task();
|
||||
$task = new ClassesTask();
|
||||
$taskData['TAS_UID'] = $tasUid;
|
||||
$result = $task->update($taskData);
|
||||
self::log("Update Task Success!");
|
||||
@@ -252,7 +252,7 @@ class Workflow extends Handler
|
||||
public function getTask($tasUid)
|
||||
{
|
||||
try {
|
||||
$task = new Task();
|
||||
$task = new ClassesTask();
|
||||
$taskData = $task->load($tasUid);
|
||||
} catch (\Exception $e){
|
||||
$taskData = null;
|
||||
@@ -583,7 +583,7 @@ class Workflow extends Handler
|
||||
try {
|
||||
|
||||
//Instance all classes necesaries
|
||||
$oProcess = new \Process();
|
||||
$oProcess = new ClassesProcess();
|
||||
$oDynaform = new \Dynaform();
|
||||
$oInputDocument = new \InputDocument();
|
||||
$oOutputDocument = new \OutputDocument();
|
||||
|
||||
@@ -13,7 +13,7 @@ use Exception;
|
||||
use ProcessMaker\BusinessModel\Light as BusinessModelLight;
|
||||
use RBAC;
|
||||
use ProcessMaker\BusinessModel\Cases as BusinessModelCases;
|
||||
use Cases;
|
||||
use Cases as ClassesCases;
|
||||
use AppDelegation;
|
||||
use ProcessMaker\BusinessModel\Lists;
|
||||
use ProcessMaker\BusinessModel\Task;
|
||||
@@ -805,7 +805,7 @@ class Light extends Api
|
||||
public function doDeleteCases($app_uid)
|
||||
{
|
||||
try {
|
||||
$oCase = new Cases();
|
||||
$oCase = new ClassesCases();
|
||||
$oCase->removeCase($app_uid);
|
||||
$result = array(
|
||||
"message" => G::LoadTranslation("ID_COMMAND_EXECUTED_SUCCESSFULLY")
|
||||
@@ -1003,7 +1003,7 @@ class Light extends Api
|
||||
public function doGetNextStep($pro_uid, $app_uid, $cas_index, $step_pos)
|
||||
{
|
||||
try {
|
||||
$oCase = new Cases();
|
||||
$oCase = new ClassesCases();
|
||||
|
||||
$oAppDelegate = new AppDelegation();
|
||||
$alreadyRouted = $oAppDelegate->alreadyRouted($app_uid, $cas_index);
|
||||
@@ -1046,7 +1046,7 @@ class Light extends Api
|
||||
|
||||
$caseVariables = array();
|
||||
if (!is_null($app_uid)) {
|
||||
$case = new Cases();
|
||||
$case = new ClassesCases();
|
||||
$fields = $case->loadCase($app_uid, $del_index);
|
||||
$caseVariables = array_merge($fields['APP_DATA'],
|
||||
BusinessModelCases::getGlobalVariables($fields['APP_DATA']));
|
||||
|
||||
Reference in New Issue
Block a user