PMCORE-927

This commit is contained in:
Paula Quispe
2022-02-14 15:13:40 -04:00
parent 3e25a2752e
commit c71bfb9128
8 changed files with 93 additions and 50 deletions

View File

@@ -130,8 +130,8 @@ class CaseTrackerObject extends BaseCaseTrackerObject
) );
$oDataset->next();
}
} catch (Exception $oException) {
throw $Exception;
} catch (Exception $e) {
throw $e;
}
}
@@ -169,7 +169,7 @@ class CaseTrackerObject extends BaseCaseTrackerObject
*
* @return array
*/
public function verifyDynaformAssigCaseTracker ($dynUid, $proUid)
public static function verifyDynaformAssigCaseTracker ($dynUid, $proUid)
{
$res = array();
$oCriteria = new Criteria();

View File

@@ -705,7 +705,7 @@ class Dynaform extends BaseDynaform
*
* @return array
*/
public function verifyDynaformAssignDynaform ($dynUid, $proUid)
public static function verifyDynaformAssignDynaform ($dynUid, $proUid)
{
$res = array();
$oCriteria = new Criteria();

View File

@@ -141,7 +141,7 @@ class ObjectPermission extends BaseObjectPermission
*
* @return array
*/
public function verifyDynaformAssigObjectPermission ($dynUid, $proUid)
public static function verifyDynaformAssigObjectPermission ($dynUid, $proUid)
{
$res = array();
$oCriteria = new Criteria();

View File

@@ -230,8 +230,8 @@ class Step extends BaseStep
$oDataset->next();
$aRow = $oDataset->getRow();
return (int) $aRow['POSITION'];
} catch (Exception $oException) {
throw $Exception;
} catch (Exception $exception) {
throw $exception;
}
}
@@ -413,7 +413,7 @@ class Step extends BaseStep
*
* @return array
*/
public function verifyDynaformAssigStep ($dynUid, $proUid)
public static function verifyDynaformAssigStep ($dynUid, $proUid)
{
$res = array();
$oCriteria = new Criteria();
@@ -432,7 +432,7 @@ class Step extends BaseStep
return $res;
}
public function getAttribute ($node, $attName)
public static function getAttribute ($node, $attName)
{
foreach ($node->attributes as $attribute) {

View File

@@ -166,8 +166,8 @@ class StepSupervisor extends BaseStepSupervisor
$oDataset->next();
$aRow = $oDataset->getRow();
return (int) $aRow['POSITION'];
} catch (Exception $oException) {
throw $Exception;
} catch (Exception $e) {
throw $e;
}
}
@@ -189,8 +189,8 @@ class StepSupervisor extends BaseStepSupervisor
$oDataset->next();
$aRow = $oDataset->getRow();
return (int) $aRow['POSITION'];
} catch (Exception $oException) {
throw $Exception;
} catch (Exception $e) {
throw $e;
}
}
@@ -217,8 +217,8 @@ class StepSupervisor extends BaseStepSupervisor
$this->update( array ('STEP_UID' => $aRow['STEP_UID'],'PRO_UID' => $aRow['PRO_UID'],'STEP_TYPE_OBJ' => $aRow['STEP_TYPE_OBJ'],'STEP_UID_OBJ' => $aRow['STEP_UID_OBJ'],'STEP_POSITION' => $aRow['STEP_POSITION'] - 1
) );
}
} catch (Exception $oException) {
throw $Exception;
} catch (Exception $e) {
throw $e;
}
}
@@ -254,7 +254,7 @@ class StepSupervisor extends BaseStepSupervisor
*
* @return array
*/
public function verifyDynaformAssigStepSupervisor ($dynUid, $proUid)
public static function verifyDynaformAssigStepSupervisor ($dynUid, $proUid)
{
$res = array();
$oCriteria = new Criteria();