Lines Matching refs:el
233 private function buildconfrecursive($head, $el) { argument
234 if(is_array($el)) {
236 …foreach($el as $k => $v) $r = array_merge($r, $this->buildconfrecursive(array_merge($head, array($…
239 if(is_bool($el)) $el = $el ? 'true' : 'false';
240 elseif(is_numeric($el)) $el = "$el";
242 !(substr($el, 0, 1) == "'" && substr($el, -1) == "'") &&
243 !(substr($el, 0, 1) == '"' && substr($el, -1) == '"') &&
244 !preg_match('`^DOKU_[A-Z_]+`', $el) &&
245 !preg_match('`\.DOKU_[A-Z_]+$`', $el)
246 ) $el = "'".$el."'";
247 return array('$conf[\''.implode("']['", $head).'\'] = '.$el.';');