function wpjb_form_input_features(Daq_Form_Element $e) { $cl = array(); if (count($e->getErrors()) > 0) { $cl[] = "wpjb-error"; } $cl[] = "wpjb-element-" . $e->getTypeTag(); $cl[] = "wpjb-element-name-" . $e->getName(); echo join(" ", $cl); }
function wpjb_form_input_features(Daq_Form_Element $e) { $cl = array(); if (count($e->getErrors()) > 0) { $cl[] = "wpjb-error"; } $cl[] = "wpjb-element-" . $e->getTypeTag(); $cl[] = "wpjb-element-name-" . $e->getName(); echo join(" ", $cl); }