Lines Matching +full:comparator +full:< +full:= +(+path:plugin +path:struct) -(+path:plugin +path:struct +path:lang)

32     protected $config = [];
37 protected $keepconfig = ['label', 'hint', 'visibility'];
42 protected $label = '';
47 protected $ismulti = false;
52 protected $tid = 0;
67 * @param string $label The label for this field (empty for new definitions=
71 public function __construct($config = null, $label = '', $ismulti = false, $tid = 0)
74 $baseconfig = [
75 'visibility' => [
76 'inpage' => true,
77 'ineditor' => true
87 $this->config = array_merge($baseconfig, $this->config);
88 $this->label = $label;
89 $this->ismulti = (bool)$ismulti;
90 $this->tid = $tid;
103 foreach ($current as $key => $value) {
108 $config[$key] = $value;
122 'config' => json_encode($this->config, JSON_THROW_ON_ERROR),
123 'label' => $this->label,
124 'ismulti' => $this->ismulti,
125 'class' => $this->getClass()
135 $class = get_class($this);
218 $this->context = $context;
265 $html = '';
267 $html .= '<div class="multiwrap">';
268 $html .= $this->valueEditor($name . '[]', $value, '');
269 $html .= '</div>';
272 $html .= '<div class="newtemplate">';
273 $html .= '<div class="multiwrap">';
274 $html .= $this->valueEditor($name . '[]', '', $htmlID);
275 $html .= '</div>';
276 $html .= '</div>';
292 $class = 'struct_' . strtolower($this->getClass());
296 $class .= ' struct_autocomplete';
299 $params = [
300 'name' => $name,
301 'value' => $rawvalue,
302 'class' => $class,
303 'id' => $htmlID
305 $attributes = buildAttributes($params, true);
319 $value = $this->displayValue($value);
334 $len = count($values);
335 for ($i = 0; $i < $len; $i++) {
355 public function renderTagCloudLink($value, \Doku_Renderer $R, $mode, $page, $filter, $weight, $showCount = null)
357 $value = $this->displayValue($value);
359 $value .= " ($showCount)";
376 * @param string $comp The SQL comparator (LIKE, NOT LIKE, =, !=, etc)
384 $add = $add->where($op); // sub where group
385 $op = 'OR';
388 $pl = $add->getQB()->addValue($item);
452 $display = $value->getDisplayValue();
523 * A call to DOKU_BASE/lib/exe/ajax.php?call=plugin_struct&column=schema.name will
544 if (is_null($this->hlp)) $this->hlp = plugin_load('helper', 'struct');
549 * With what comparator should dynamic filters filter this type?