コード例 #1
0
ファイル: functions.php プロジェクト: robjcordes/nexnewwp
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);
}