Lines Matching refs:val
49 [$key, $val] = $this->splitLine($line);
58 $this->config['schemas'] = array_merge($this->config['schemas'], $this->parseSchema($val));
64 $this->config['cols'] = $this->parseValues($val);
67 $this->config['sepbyheaders'] = (bool)$val;
72 $this->config['headers'] = $this->parseValues($val);
75 $this->config['align'] = $this->parseAlignments($val);
79 $this->config['widths'] = $this->parseWidths($val);
82 $this->config['min'] = abs((int)$val);
86 $this->config['limit'] = abs((int)$val);
90 $sorts = $this->parseValues($val);
102 $flt = $helper->parseFilterLine($logic, $val);
108 $this->config['dynfilters'] = (bool)$val;
111 $this->config['rownumbers'] = (bool)$val;
114 $this->config['summarize'] = (bool)$val;
117 $this->config['csv'] = (bool)$val;
121 $this->config['target'] = cleanID($val);
125 $this->config['nesting'] = (int) $val;
128 $this->config['index'] = (int) $val;
132 $this->config['classes'] = $this->parseClasses($val);
135 $data = ['config' => &$this->config, 'key' => $key, 'val' => $val];
192 * @param $val
195 protected function parseSchema($val)
198 $parts = explode(',', $val);
213 * @param string $val
216 protected function parseAlignments($val)
218 $cols = explode(',', $val);
240 * @param $val
243 protected function parseWidths($val)
245 $vals = explode(',', $val);
250 $val = trim(strtolower($vals[$i]));
252 if (preg_match('/^\d+.?(\d+)?(px|em|ex|ch|rem|%|in|cm|mm|q|pt|pc)$/', $val)) {
254 $vals[$i] = $val;
255 } elseif (preg_match('/^\d+$/', $val)) {
257 $vals[$i] = $val . 'px';