mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Dashboard: improved the group by on two columns (to be continued)
SVN:trunk[2074]
This commit is contained in:
@@ -1391,6 +1391,17 @@ class AttributeFinalClass extends AttributeString
|
||||
if (empty($sValue)) return '';
|
||||
return MetaModel::GetName($sValue);
|
||||
}
|
||||
|
||||
public function GetAllowedValues($aArgs = array(), $sContains = '')
|
||||
{
|
||||
$aRawValues = MetaModel::EnumChildClasses($this->GetHostClass());
|
||||
$aLocalizedValues = array();
|
||||
foreach ($aRawValues as $sClass)
|
||||
{
|
||||
$aLocalizedValues[$sClass] = MetaModel::GetName($sClass);
|
||||
}
|
||||
return $aLocalizedValues;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user