mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
WIP
This commit is contained in:
@@ -3889,11 +3889,11 @@ HTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* function to test if the posted value or fi not exists the existing value matches the expected value
|
||||
* function to test if the posted value or if not exists the existing value matches the expected value
|
||||
* this is used to check the current value in GetAttributeFlag function (useful to manage dynamic readonly attributes)
|
||||
* @param $sAttr
|
||||
* @param $sAttCode
|
||||
*/
|
||||
public function GetCurrentValue($sAttCode)
|
||||
public function GetCurrentValueInScreen($sAttCode)
|
||||
{
|
||||
if (array_key_exists($sAttCode, $this->aPostedValues)) {
|
||||
return $this->aPostedValues[$sAttCode];
|
||||
@@ -3903,10 +3903,10 @@ HTML;
|
||||
|
||||
/*
|
||||
* This function checks if the value of the attribute has been modified in screen
|
||||
* this is used to check if field has been modifed in GetAttributeFlag function (useful to manage dynamic readonly attributes)
|
||||
* @param $sAttr
|
||||
* this is used to check if field has been modified in GetAttributeFlag function (useful to manage dynamic readonly attributes)
|
||||
* @param $sAttCode
|
||||
*/
|
||||
public function IsModifiedValue($sAttCode)
|
||||
public function IsModifiedValueInScreen($sAttCode)
|
||||
{
|
||||
if (array_key_exists($sAttCode, $this->aPostedValues)) {
|
||||
return $this->aPostedValues[$sAttCode] != $this->Get($sAttCode);
|
||||
|
||||
Reference in New Issue
Block a user