PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.1.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.1.1
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
bit-form / includes / Frontend / Form / View / Theme / Fields / DividerField.php

DividerField.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 3.1.1, at includes/Frontend/Form/View/Theme/Fields/DividerField.php

30 lines 829 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace BitCode\BitForm\Frontend\Form\View\Theme\Fields;
4
5 class DividerField
6 {
7 public static function init($field, $rowID, $field_name, $form_atomic_Cls_map, $formID, $error = null, $value = null)
8 {
9 $fieldHelpers = new ClassicFieldHelpers($field, $rowID, $form_atomic_Cls_map);
10
11 return sprintf(
12 '<div
13 %1$s
14 class="%2$s %3$s"
15 >
16 <div
17 %4$s
18 class="%5$s %6$s"
19 ></div>
20 </div>',
21 $fieldHelpers->getCustomAttributes('fld-wrp'), // 1
22 $fieldHelpers->getAtomicCls('fld-wrp'), // 2
23 $fieldHelpers->getCustomClasses('fld-wrp'), // 3
24 $fieldHelpers->getCustomAttributes('divider'), // 4
25 $fieldHelpers->getAtomicCls('divider'), // 5
26 $fieldHelpers->getCustomClasses('divider') // 6
27 );
28 }
29 }
30