static function findIconEmpire($idEmpire) { $iconElement = '<i data-tooltip="Empire ' . EmpireHelper::getLibelle($idEmpire) . '" class="'; if ($idEmpire == 1) { $iconElement .= "text-red "; } else { if ($idEmpire == 2) { $iconElement .= "text-yellow "; } else { if ($idEmpire == 3) { $iconElement .= "text-blue "; } else { $iconElement .= "text-gray "; } } } $iconElement .= 'material-icons md-icon-map md-20"></i>'; return $iconElement; }
public function helpEmpire($empire = 0) { return EmpireHelper::getLibelle($empire); }