wrapper($input); } private static function field($field, $rowID, $form_atomic_Cls_map, $value) { $fieldHelpers = new ClassicFieldHelpers($field, $rowID, $form_atomic_Cls_map); $name = $fieldHelpers->name(); $req = $fieldHelpers->required(); $clrBtnContent = ''; $undoBtnContent = ''; $redoBtnContent = ''; $bfFrontendFormIds = FrontendHelpers::$bfFrontendFormIds; $contentCount = count($bfFrontendFormIds); $clrBtnPreIcn = $fieldHelpers->icon('clrPreIcn', 'clr-btn-pre-i'); $clrBtnSufIcn = $fieldHelpers->icon('clrSufIcn', 'clr-btn-suf-i'); $undoBtnPreIcn = $fieldHelpers->icon('undoPreIcn', 'undo-btn-pre-i'); $undoBtnSufIcn = $fieldHelpers->icon('undoSufIcn', 'undo-btn-suf-i'); $redoBtnPreIcn = $fieldHelpers->icon('redoPreIcn', 'redo-btn-pre-i'); $redoBtnSufIcn = $fieldHelpers->icon('redoSufIcn', 'redo-btn-suf-i'); if (property_exists($field, 'clrBtnHide') && !$field->clrBtnHide) { $clrBtnContent = sprintf( '', $fieldHelpers->getAtomicCls('clr-btn'), $fieldHelpers->getCustomClasses('clr-btn'), $fieldHelpers->getCustomAttributes('clr-btn'), $clrBtnPreIcn, $field->clrBtn, $clrBtnSufIcn ); } if (property_exists($field, 'undoBtnHide') && !$field->undoBtnHide) { $undoBtnContent = sprintf( '', $fieldHelpers->getAtomicCls('undo-btn'), $fieldHelpers->getCustomClasses('undo-btn'), $fieldHelpers->getCustomAttributes('undo-btn'), $undoBtnPreIcn, $field->undoBtn, $undoBtnSufIcn ); } if (property_exists($field, 'redoBtnHide') && !$field->redoBtnHide) { $redoBtnContent = sprintf( '', $fieldHelpers->getAtomicCls('redo-btn'), $fieldHelpers->getCustomClasses('redo-btn'), $fieldHelpers->getCustomAttributes('redo-btn'), $redoBtnPreIcn, $field->redoBtn, $redoBtnSufIcn ); } return sprintf( '