Lines Matching refs:currentSection

46                 $currentSection = null;
62 … $this->_saveField($params, $currentKey, trim($currentValue), $currentSection, $currentSubgroup);
75 $currentSection = '_headerless_' . $headerlessCounter;
77 $params['sections'][$currentSection] = [];
83 $currentSection = $sectionMatches[2];
85 $params['sections'][$currentSection] = [];
87 $params['collapsed_sections'][$currentSection] = true;
94 if ($currentSection !== null) {
97 if (!isset($params['sections'][$currentSection]['_subgroups'])) {
98 $params['sections'][$currentSection]['_subgroups'] = [];
100 … $params['sections'][$currentSection]['_subgroups'][$currentSubgroup] = [];
107 if ($currentSection !== null) {
109 if (!isset($params['sections'][$currentSection]['_subgroups'])) {
110 $params['sections'][$currentSection]['_subgroups'] = [];
112 … $params['sections'][$currentSection]['_subgroups'][$currentSubgroup] = [];
120 if ($currentSection !== null) {
123 …$params['sections'][$currentSection]['_subgroups'][$currentSubgroup]['_divider_' . md5($dividerTex…
129 … $params['sections'][$currentSection]['_divider_' . md5($dividerText)] = [
150 if ($currentSection !== null) {
152 … $params['sections'][$currentSection]['_subgroups'][$currentSubgroup][$fullwidthKey] = $fieldData;
154 $params['sections'][$currentSection][$fullwidthKey] = $fieldData;
177 … $this->_saveField($params, $key, $value, $currentSection, $currentSubgroup);
184 … $this->_saveField($params, $currentKey, trim($currentValue), $currentSection, $currentSubgroup);
196 private function _saveField(&$params, $key, $value, $currentSection, $currentSubgroup = null) { argument
243 if ($currentSection !== null) {
246 $params['sections'][$currentSection]['_subgroups'][$currentSubgroup][$key] = [
253 $params['sections'][$currentSection][$key] = [