/plugin/struct/admin/ |
H A D | schemas.php | 215 ->val(CSVExporter::DATATYPE_PAGE) 218 ->val(CSVExporter::DATATYPE_GLOBAL) 221 ->val(CSVExporter::DATATYPE_SERIAL) 232 ->val(CSVExporter::DATATYPE_PAGE) 236 ->val(CSVExporter::DATATYPE_GLOBAL) 239 ->val(CSVExporter::DATATYPE_SERIAL)
|
/plugin/struct/helper/ |
H A D | config.php | 17 * @param string $val argument 21 public function parseSort($val) 23 if (substr($val, 0, 1) == '^') { 24 return [substr($val, 1), false]; 26 return [$val, true]; 31 * @param $val argument 35 public function parseFilterLine($logic, $val) 37 $flt = $this->parseFilter($val); 48 * @param string $val 53 protected function parseFilter($val) 49 parseFilter($val) global() argument [all...] |
/plugin/struct/jsoneditor/ |
H A D | setup.js | 18 $config.val(editor.getText()); 25 editor.setText($config.val()); 29 editor.setText($config.val()); 37 var type = jQuery(this).val(); 39 var conf = $editor.val(); 40 $editor.val('"..."')[0].updateEditor(); 50 $editor.val(conf)[0].updateEditor();
|
/plugin/struct/meta/ |
H A D | AccessTable.php | 464 $val = (string) $DBdata[0]['out' . $col->getColref()]; 466 $val = ''; 469 // multi val data is concatenated 471 $val = explode($sep, $val); 472 $val = array_filter($val); 475 $value = new Value($col, $val); 637 $colrefs = array_unique(array_map(static fn($val) => $val[ [all...] |
H A D | AggregationTable.php | 298 foreach ($params as $key => $val) { 299 $form->addHidden($key, $val);
|
H A D | CSVExporter.php | 93 $val = $value->getRawValue(); 94 if (is_array($val)) $val = implode(',', $val); 97 $row .= $this->escape($val);
|
H A D | ConfigParser.php | 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); 180 parseSchema($val) global() argument 201 parseAlignments($val) global() argument 228 parseWidths($val) global() argument [all...] |
H A D | Search.php |
|
H A D | Value.php | 123 foreach ($value as $val) { 125 $raw = $val; 127 $raw = $this->column->getType()->rawValue($val); 130 $this->value[] = $val; 133 $this->display[] = $val; 134 $this->compare[] = $val; 136 $this->display[] = $this->column->getType()->displayValue($val); 137 $this->compare[] = $this->column->getType()->compareValue($val);
|
H A D | ValueValidator.php | 114 * @param string $val 117 public function filter($val) 119 return !blank($val); 111 filter($val) global() argument
|
/plugin/struct/script/ |
H A D | AggregationEditor.js | 59 sectok: $me.parents('.structaggregationeditor').find('.struct_entry_form input[name=sectok]').val()
|
H A D | EntryEditor.js | 34 $dtInput.val($dtInput.val().replace('T', ' ')); 46 $input.val(date); 110 if (jQuery(this).val() == '') return;
|
H A D | InlineEditor.js | 25 $form.append(jQuery('<input type="hidden" name="pid">').val(pid)); 26 $form.append(jQuery('<input type="hidden" name="rid">').val(rid)); 27 $form.append(jQuery('<input type="hidden" name="rev">').val(rev)); 28 $form.append(jQuery('<input type="hidden" name="field">').val(field));
|
H A D | functions.js | 31 * @param {string} val 34 function split(val) { argument 35 return val.split(/,\s*/); 70 jQuery(document.getElementById(edid)).val(mediaid).change();
|
/plugin/struct/types/ |
H A D | Dropdown.php | 42 foreach ($this->getOptions() as $opt => $val) { 49 $html .= "<option $selected value=\"" . hsc($opt) . "\">" . hsc($val) . '</option>';
|
H A D | Lookup.php | 134 $val = json_encode([$pids[$i], (int)$rids[$i]], JSON_THROW_ON_ERROR); 135 $options[$val] = $result[$i][0]->getDisplayValue(); 168 function ($val) { 169 [, $val] = \helper_plugin_struct::decodeJson($val); 170 return $val;
|
/plugin/structat/action/ |
H A D | struct.php | 47 $val = $data['val']; 50 $val = trim($val); 53 $data['config'][$key] = $val;
|
/plugin/structcombolookup/ |
H A D | script.js | 4 option = $narowingSelect.children("option:selected").val(), 34 value = selected.val() ? selected.text() : ""; 38 .val( value ) 118 var value = this.input.val(), 135 .val( "" ) 138 this.element.val( "" );
|
/plugin/structcombolookup/types/ |
H A D | NarrowingLookup.php | 116 foreach($this->getNarrowByOptions() as $opt => $val) { 123 $html .= "<option $selected value=\"" . hsc($opt) . "\">" . hsc($val) . '</option>'; 151 list($val, $parent) = $option; 158 …-parent=\"" . hsc($parent) . "\" $selected value=\"" . hsc($opt) . "\">" . hsc($val) . '</option>';
|
/plugin/structcondstyle/ |
H A D | action.php | 75 $val = trim($data['val']); 85 if(!preg_match('/\s*[a-zA-z]+\s*.+\s*[a-zA-z0-9]+\s*\?\s*".+"\s*:\s*.+"/',$val)){ 86 msg("condstyle: $val is not correct", -1); 91 $condition = preg_split("/\s*\?\s*/",$val,2)[0]; 92 $styles = preg_split("/\s*\?\s*/",$val,2)[1]; 107 msg("condstyle: unknown operator ($val)", -1);
|
/plugin/structinputstretch/ |
H A D | script.js | 30 inputTextWidth = measureText($input.val(), inputFont).width + 20;
|
/plugin/structnotification/ |
H A D | admin.php | 207 $form->addButton('action', $this->getLang($action))->val($action); 228 $errors[] = 'val schema blank'; 232 $errors[] = 'val field blank'; 236 $errors[] = 'val operator blank'; 240 $errors[] = 'val value blank'; 244 $errors[] = 'val users_and_groups blank'; 248 $errors[] = 'val message blank';
|
/plugin/structodt/ |
H A D | action.php | 42 $val = trim($event->data['val']); 51 $event->data['config'][$key] = array_map('trim', explode(',', $val)); 54 $event->data['config'][$key] = (bool) $val; 57 $val = shell_exec('command -v unoconv'); 58 if (empty($val)) { 64 $val = shell_exec('command -v ghostscript'); 65 if (empty($val)) { 73 $event->data['config'][$key] = (bool) $val; 76 $event->data['config'][$key] = trim($val); [all...] |
/plugin/structpublish/action/ |
H A D | banner.php | 169 $form->addTextInput('version', $this->getLang('newversion'))->val($newVersion);
|
H A D | migration.php | 72 $sql = "REPLACE INTO opts (val,opt) VALUES ($version,'dbversion_structpublish')"; 90 $sql = 'SELECT opt, val FROM opts WHERE opt=? OR opt=?'; 93 foreach ($vals as $val) { 94 if ($val['opt'] === 'dbversion') { 95 $dbVersionStruct = $val['val']; 97 if ($val['opt'] === 'dbversion_structpublish') { 98 $dbVersionStructpublish = $val['val'];
|