function GetActiveClassByID($icon_id) { if (substr($icon_id, 0, 7) == 'btn_sub_new') { return 'adm-btn-save-active'; } else { return parent::GetActiveClassByID($icon_id); } }
public static function GetActiveClassByID($icon_id) { if (substr($icon_id, 0, 7) == 'btn_sub_new') return 'adm-btn-save-active'; else return parent::GetActiveClassByID($icon_id); return ''; }