/plugin/struct/action/ |
H A D | aggregationeditor.php | 128 // create a new row based on the original aggregation config 135 $config = json_decode($INPUT->str('searchconf'), true, 512, JSON_THROW_ON_ERROR); 138 $config = $this->addTypeFilter($config); 144 new SearchConfig($config) 194 * or the selection defined in config. If config contains '*', 203 // if no valid column config, return all columns 235 * Adds filter to search config to differentiate data types 237 * @param array $config argument [all...] |
H A D | bureaucracy.php | 99 $config = $field->column->getType()->getConfig(); 104 $search->addSchema($config['schema']); 105 $search->addColumn($config['field']);
|
/plugin/struct/db/ |
H A D | update0001.sql | 15 config DEFAULT '' field
|
H A D | update0014.sql | 22 config NOT NULL DEFAULT '{}' 25 INSERT INTO schemas (id, tbl, ts, islookup, user, comment, config) SELECT id, tbl, ts, islookup, user, comment, '{"allowed editors":"' || editors || '"}' FROM schemas_temp;
|
/plugin/struct/meta/ |
H A D | AggregationEditorTable.php | 38 $config = $this->searchConfig->getConf(); 39 if (isset($config['filter'])) unset($config['filter']); 40 $config = hsc(json_encode($config, JSON_THROW_ON_ERROR)); 48 data-schema=\"$table\" data-searchconf=\"$config\">";
|
H A D | ConfigParser.php | 16 protected $config = [ 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['limi 14 protected $config = array(); global() variable in dokuwiki\\plugin\\struct\\meta\\ConfigParser [all...] |
H A D | Schema.php | 47 /** @var array config array with label translations */ 48 protected $config = []; variable in dokuwiki\\plugin\\struct\\meta\\Schema 88 $config = []; 95 $config = json_decode($result['config'], true, 512, JSON_THROW_ON_ERROR); 97 $this->config = array_merge($baseconfig, $config); 123 $config = json_decode($row['config'], true, 512, JSON_THROW_ON_ERROR); 125 $type = new $class($config, [all...] |
H A D | SchemaBuilder.php | 154 $config = $this->data['config'] ?? '{}'; 157 $sql = "INSERT INTO schemas (tbl, ts, user, config) VALUES (?, ?, ?, ?)"; 158 $this->sqlite->query($sql, [$this->table, $this->time, $this->user, $config]); 179 $newEntry['config'] = $this->data['cols'][$column->getColref()]['config']; 267 $newEntry['config'] = $column['config'] ?? '{}';
|
H A D | SchemaEditor.php | 73 $config = json_encode($this->schema->getConfig(), JSON_PRETTY_PRINT); 75 '<textarea name="schema[config]" id="schemaConfig" cols="45" rows="10" class="config">' . 76 hsc($config) . 87 * Gives the code to attach the JSON editor to the config field 136 $html .= '<td class="config">'; 137 $config = json_encode($col->getType()->getConfig(), JSON_PRETTY_PRINT); 138 $html .= '<textarea name="' . $base . '[config]" cols="45" rows="10" class="config">' . 139 hsc($config) [all...] |
H A D | SchemaImporter.php | 57 $config = $input['config'] ?? []; 58 $data = ['config' => json_encode($config), 'cols' => [], 'new' => []]; 61 // config has to stay json 62 $column['config'] = json_encode($column['config'], JSON_PRETTY_PRINT);
|
H A D | SearchCloud.php | 117 if (!empty($this->config['min']) && $this->config['min'] > $row['count']) {
|
H A D | SearchConfig.php | 24 protected $config; variable in dokuwiki\\plugin\\struct\\meta\\SearchConfig 38 * @param array $config The parsed configuration for this search 41 public function __construct($config, $dynamic = true) 46 if (!empty($config['schemas'])) foreach ($config['schemas'] as $schema) { 49 if (!empty($config['cols'])) foreach ($config['cols'] as $col) { 55 if (!empty($config['filters'])) $this->cacheFlag = $this->determineCacheFlag($config['filters']); 58 if (!empty($config['filte 40 __construct($config) global() argument [all...] |
H A D | SearchConfigParameters.php | 204 updateConfig($config) global() argument
|
H A D | TranslationUtilities.php | 11 * adds all configured languages to the config array. This ensures all types 29 if (!isset($this->config[$key])) { 30 $this->config[$key] = []; 34 if (!isset($this->config[$key][$lang])) { 35 $this->config[$key][$lang] = ''; 39 foreach (array_keys($this->config[$key]) as $langKey) { 41 unset($this->config[$key][$langKey]); 62 if (!blank($this->config[$key][$lang])) { 63 return $this->config[$key][$lang]; 65 if (!blank($this->config[ [all...] |
/plugin/struct/ |
H A D | remote.php | 153 $config = $parser->getConfig(); 154 $search = new SearchConfig($config);
|
H A D | style.less | 260 // collapse config block 261 td.config > div {
|
/plugin/struct/syntax/ |
H A D | cloud.php | 70 $config = $parser->getConfig(); 71 return $config;
|
H A D | global.php | 43 $config = parent::handle($match, $state, $pos, $handler); 44 if (is_null($config)) return null; 47 $config['cols'] = $config['cols'] ?: ['*']; // optional columns definition 48 if (isset($config['rownumbers'])) unset($config['rownumbers']); // this annoying to update dynamically 49 return $config; 55 * @param array $config 58 protected function addTypeFilter($config) 60 $config['filte 57 addTypeFilter($config) global() argument [all...] |
H A D | list.php | 87 checkForInvalidOptions($config) global() argument
|
H A D | serial.php | 27 * @param array $config 30 protected function addTypeFilter($config) argument 35 $config['filter'][] = ['%rowid%', '!=', (string)AccessTablePage::DEFAULT_PAGE_RID, 'AND']; 36 $config['filter'][] = ['%pageid%', '=', $id, 'AND']; 37 $config['withpid'] = 1; // flag for the editor to distinguish data types 38 return $config;
|
H A D | table.php | 78 $config = $parser->getConfig(); 79 $this->checkForInvalidOptions($config); 80 return $config; 93 * @param array $config The parsed config data from the handler() function 96 public function render($format, Doku_Renderer $renderer, $config) 101 if (!$config) return false; 102 $config = $this->addTypeFilter($config); // add type specific filters 112 $search = $this->getSearchConfig($config); 90 render($format, Doku_Renderer $renderer, $config) global() argument 135 addTypeFilter($config) global() argument [all...] |
H A D | value.php | 70 $config = $parser->getConfig(); 72 return $config;
|
/plugin/struct/types/ |
H A D | AbstractBaseType.php | 30 * @var array current config 32 protected $config = []; 35 * @var array config keys that should not be cleaned despite not being in $config 66 * @param array|null $config The configuration, might be null if nothing saved, yet 71 public function __construct($config = null, $label = '', $ismulti = false, $tid = 0) 73 // general config options 82 if (!is_null($config)) { 83 $this->mergeConfig($config, $this->config); 31 protected $config = array(); global() variable in dokuwiki\\plugin\\struct\\types\\AbstractBaseType 70 __construct($config = null, $label = '', $ismulti = false, $tid = 0) global() argument 100 mergeConfig($current, & $config) global() argument [all...] |
H A D | Checkbox.php | 7 protected $config = ['values' => 'one, two, three']; variable in dokuwiki\\plugin\\struct\\types\\Checkbox 16 $options = explode(',', $this->config['values']);
|
H A D | Color.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Color 24 if ($rawvalue === strtolower($this->config['default'])) { 68 $rawvalue = $this->config['default'];
|