Home
last modified time | relevance | path

Searched refs:config (Results 726 – 750 of 908) sorted by path

1...<<21222324252627282930>>...37

/plugin/struct/action/
H A Daggregationeditor.php128 // 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 Dbureaucracy.php99 $config = $field->column->getType()->getConfig();
104 $search->addSchema($config['schema']);
105 $search->addColumn($config['field']);
/plugin/struct/db/
H A Dupdate0001.sql15 config DEFAULT '' field
H A Dupdate0014.sql22 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 DAggregationEditorTable.php38 $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 DConfigParser.php16 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 DSchema.php47 /** @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 DSchemaBuilder.php154 $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 DSchemaEditor.php73 $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 DSchemaImporter.php57 $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 DSearchCloud.php117 if (!empty($this->config['min']) && $this->config['min'] > $row['count']) {
H A DSearchConfig.php24 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 DSearchConfigParameters.php204 updateConfig($config) global() argument
H A DTranslationUtilities.php11 * 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 Dremote.php153 $config = $parser->getConfig();
154 $search = new SearchConfig($config);
H A Dstyle.less260 // collapse config block
261 td.config > div {
/plugin/struct/syntax/
H A Dcloud.php70 $config = $parser->getConfig();
71 return $config;
H A Dglobal.php43 $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 Dlist.php87 checkForInvalidOptions($config) global() argument
H A Dserial.php27 * @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 Dtable.php78 $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 Dvalue.php70 $config = $parser->getConfig();
72 return $config;
/plugin/struct/types/
H A DAbstractBaseType.php30 * @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 DCheckbox.php7 protected $config = ['values' => 'one, two, three']; variable in dokuwiki\\plugin\\struct\\types\\Checkbox
16 $options = explode(',', $this->config['values']);
H A DColor.php9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Color
24 if ($rawvalue === strtolower($this->config['default'])) {
68 $rawvalue = $this->config['default'];

1...<<21222324252627282930>>...37