@@ -808,7 +808,7 @@ class AppDelegation extends BaseAppDelegation
|
||||
return $rs->getRow();
|
||||
}
|
||||
|
||||
public function getCurrentIndex($appUid)
|
||||
public static function getCurrentIndex($appUid)
|
||||
{
|
||||
$oCriteria = new Criteria();
|
||||
$oCriteria->addSelectColumn(AppDelegationPeer::DEL_INDEX);
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -147,6 +147,7 @@ class Process extends BaseProcess
|
||||
$this->setProSubCategory('');
|
||||
$this->setProIndustry('');
|
||||
$this->setProCreateDate(date("Y-m-d H:i:s"));
|
||||
$this->setProUpdateDate($this->getProCreateDate());
|
||||
$this->setProCreateUser($aData['USR_UID']);
|
||||
$this->setProHeight(5000);
|
||||
$this->setProWidth(10000);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -195,6 +195,10 @@ class UsersProperties extends BaseUsersProperties
|
||||
$changePassword = 1;
|
||||
}
|
||||
}
|
||||
//Spaces not supported at the end of passwords
|
||||
if (substr($password, -1) === " ") {
|
||||
$listErrors[] = 'ID_PPP_SPACES_NOT_SUPPORTED_AT_THE_END_OF_PASSWORD';
|
||||
}
|
||||
|
||||
if ($changePassword == 1) {
|
||||
$listErrors[] = 'ID_PPP_CHANGE_PASSWORD_AFTER_NEXT_LOGIN';
|
||||
|
||||
Reference in New Issue
Block a user