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,49 @@
<?php
class AttributeArchiveFlag extends AttributeBoolean
{
public function __construct($sCode)
{
parent::__construct($sCode, array(
"allowed_values" => null,
"sql" => $sCode,
"default_value" => false,
"is_null_allowed" => false,
"depends_on" => array()
));
}
public function RequiresIndex()
{
return true;
}
public function CopyOnAllTables()
{
return true;
}
public function IsWritable()
{
return false;
}
public function IsMagic()
{
return true;
}
public function GetLabel($sDefault = null)
{
$sDefault = Dict::S('Core:AttributeArchiveFlag/Label', $sDefault);
return parent::GetLabel($sDefault);
}
public function GetDescription($sDefault = null)
{
$sDefault = Dict::S('Core:AttributeArchiveFlag/Label+', $sDefault);
return parent::GetDescription($sDefault);
}
}