Archives: default label for the magic attributes archive_flag and archive_date

SVN:trunk[4699]
This commit is contained in:
Romain Quetiez
2017-04-27 08:43:45 +00:00
parent f02df401ff
commit 8e046cafda
16 changed files with 95 additions and 2 deletions

View File

@@ -7616,4 +7616,27 @@ class AttributeArchiveFlag extends AttributeBoolean
{
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);
}
}
class AttributeArchiveDate extends AttributeDate
{
public function GetLabel($sDefault = null)
{
$sDefault = Dict::S('Core:AttributeArchiveDate/Label', $sDefault);
return parent::GetLabel($sDefault);
}
public function GetDescription($sDefault = null)
{
$sDefault = Dict::S('Core:AttributeArchiveDate/Label+', $sDefault);
return parent::GetDescription($sDefault);
}
}