'yes', 2 => 'no' ]; $class = [ 1 => 'text-danger', 2 => 'text-info' ]; echo ''.Lang::get('indikator.news::lang.form.'.$text[$record->hidden]).'';