Move folder

This commit is contained in:
Anne-Cath
2025-09-04 09:40:39 +02:00
parent 71604e65d2
commit 392957d849
75 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* Base class for all kind of DB attributes, with the exception of external keys
*
* @package iTopORM
*/
class AttributeDBField extends AttributeDBFieldVoid
{
public static function ListExpectedParams()
{
return array_merge(parent::ListExpectedParams(), array("default_value", "is_null_allowed"));
}
public function GetDefaultValue(DBObject $oHostObject = null)
{
return $this->MakeRealValue($this->Get("default_value"), $oHostObject);
}
public function IsNullAllowed()
{
return $this->Get("is_null_allowed");
}
}