mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°6438 - Reloading all displayed tickets when display the ticket list
This commit is contained in:
@@ -3697,6 +3697,27 @@ abstract class MetaModel
|
||||
self::$m_aHighlightScales[$sTargetClass] = $aHighlightScale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the HTML class to apply to the object in the datatables
|
||||
*
|
||||
* @param string $sClass requested for the list (can be abstract)
|
||||
* @param \DBObject $oObject the object to display
|
||||
*
|
||||
* @return string the class to apply to the object
|
||||
* @throws \ArchivedObjectException
|
||||
* @throws \CoreException
|
||||
*
|
||||
* @since 3.2.0
|
||||
*/
|
||||
final public static function GetHilightClass(string $sClass, DBObject $oObject): string
|
||||
{
|
||||
if (self::IsAbstract($sClass) && self::GetConfig()->Get('list.highlight_abstract_class') === false) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return $oObject->GetHilightClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sTargetClass
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user