Example #1
0
 function GetActiveClassByID($icon_id)
 {
     if (substr($icon_id, 0, 7) == 'btn_sub_new') {
         return 'adm-btn-save-active';
     } else {
         return parent::GetActiveClassByID($icon_id);
     }
 }
Example #2
0
	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 '';
	}