/plugin/struct/types/ |
H A D | Date.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Date 28 $out = date_format($date, $this->config['format']); 48 if ($this->config['prefilltoday'] && !$rawvalue) { 82 if ($this->config['pastonly'] && strtotime($rawvalue) > time()) { 85 if ($this->config['futureonly'] && strtotime($rawvalue) < time()) {
|
H A D | DateTime.php | 12 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\DateTime 22 * @param array|null $config 27 public function __construct($config = null, $label = '', $ismulti = false, $tid = 0) argument 30 $this->config['format'] = DateFormatConverter::toDate($conf['dformat']); 32 parent::__construct($config, $label, $ismulti, $tid); 46 if ($this->config['prefilltoday'] && !$rawvalue) { 82 if ($this->config['pastonly'] && strtotime($rawvalue) > time()) { 85 if ($this->config['futureonly'] && strtotime($rawvalue) < time()) {
|
H A D | Decimal.php | 18 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Decimal 41 if ($this->config['engineering']) { 61 $this->config['prefix'] . 63 $this->config['postfix'] 69 if ($this->config['roundto'] == -1) { 72 $this->config['decpoint'], 73 $this->config['thousands'] 79 (int)$this->config['roundto'], 80 $this->config['decpoint'], 81 $this->config['thousand [all...] |
H A D | Dropdown.php | 7 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Dropdown 18 $options = explode(',', $this->config['values']);
|
H A D | LongText.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\LongText 29 $R->doc .= hsc($this->config['prefix']) . $valueWithBR . hsc($this->config['postfix']); 31 $R->cdata($this->config['prefix'] . $value . $this->config['postfix']); 65 'rows' => $this->config['rows'], 66 'cols' => $this->config['cols']
|
H A D | Lookup.php | 19 protected $config = ['schema' => '', 'field' => '']; variable in dokuwiki\\plugin\\struct\\types\\Lookup 27 * @param array|null $config 32 public function __construct($config = null, $label = '', $ismulti = false, $tid = 0) 34 parent::__construct($config, $label, $ismulti, $tid); 35 $this->config['schema'] = Schema::cleanTableName($this->config['schema']); argument 46 $this->column = $this->getColumn($this->config['schema'], $this->config['field']); 117 $schema = $this->config['schema']; 235 $schema = 'data_' . $this->config['schem [all...] |
H A D | Mail.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Mail 24 $mail = $this->config['prefix'] . $value . $this->config['postfix']; 39 $mail = $this->config['prefix'] . $rawvalue . $this->config['postfix'];
|
H A D | Media.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Media 27 if (!trim($this->config['mime'])) return $rawvalue; 28 $allows = explode(',', $this->config['mime']); 37 throw new ValidationException('Media mime type', $mime, $this->config['mime']); 52 // get width and height from config 55 if ($this->config['width']) $width = $this->config['width']; 56 if ($this->config['height']) $height = $this->config['height']; 59 if ($this->config['agg_widt [all...] |
H A D | Page.php | 20 protected $config = [ 39 if ($this->config['usetitles']) { 75 if (PhpString::strlen($lookup) < $this->config['autocomplete']['mininput']) return []; 78 $max = $this->config['autocomplete']['maxresult']; 81 $data = ft_pageLookup($lookup, true, $this->config['usetitles']); 84 $filter = $this->config['autocomplete']['filter']; 93 if ($this->config['usetitles']) { 126 if (!$this->config['usetitles']) { 145 if (!$this->config['usetitles']) { 164 if ($this->config['usetitle 19 protected $config = array( global() variable in dokuwiki\\plugin\\struct\\types\\Page [all...] |
H A D | Tag.php | 13 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Tag 33 $page = trim($this->config['page']); 51 if (PhpString::strlen($lookup) < $this->config['autocomplete']['mininput']) return []; 54 $max = $this->config['autocomplete']['maxresult'];
|
H A D | Text.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Text 24 $R->cdata($this->config['prefix'] . $value . $this->config['postfix']);
|
H A D | TraitFilterPrefix.php | 38 if ($this->config['prefix']) { 39 $pl = $QB->addValue($this->config['prefix']); 42 if ($this->config['postfix']) { 43 $pl = $QB->addValue($this->config['postfix']);
|
H A D | Url.php | 9 protected $config = [ variable in dokuwiki\\plugin\\struct\\types\\Url 60 if ($this->config['fixedtitle']) return $this->config['fixedtitle']; 61 if (!$this->config['autoshorten']) return $url; 88 $url = $this->config['prefix'] . trim($value) . $this->config['postfix']; 91 $url = $this->config['autoscheme'] . '://' . $url;
|
H A D | User.php | 14 protected $config = [ 31 if ($this->config['existingonly']) { 77 if (PhpString::strlen($lookup) < $this->config['autocomplete']['mininput']) return []; 80 $max = $this->config['autocomplete']['maxresult']; 95 if ((count($logins) < $max) && $this->config['autocomplete']['fullname']) { 13 protected $config = array( global() variable in dokuwiki\\plugin\\struct\\types\\User
|
H A D | Wiki.php | 20 $value = $this->config['prefix'] . $value . $this->config['postfix'];
|
/plugin/structacl/_test/ |
H A D | ConfigTest.php | 41 $config = $helper->getConfiguration($confValue); 43 $this->assertSame($expected, $config); 57 $config = $helper->getConfiguration($confValue); 59 $this->assertSame($expected, $config); 73 $config = $helper->getConfiguration($confValue); 75 $this->assertSame($expected, $config);
|
/plugin/structacl/ |
H A D | action.php | 38 $config = $helper->getConfiguration($this->getConf('fields')); 40 if (empty($config)) return; 50 foreach ($config as $schemaName => $fields) {
|
H A D | helper.php | 15 $config = []; 24 $config[$schema] = $config[$schema] ?? []; 25 $config[$schema][] = $field; 28 return $config;
|
/plugin/structat/meta/ |
H A D | SearchConfigAt.php | 24 * @param array $config The parsed configuration for this search 26 public function __construct($config) argument 28 parent::__construct($config); 31 $config = $this->dynamicParameters->updateConfig($config); 33 if (!empty($config['at'])) { 34 $this->setAt($config['at']); 37 $this->config = $config;
|
H A D | SearchConfigAtParameters.php | 46 * @param array $config 49 public function updateConfig($config) argument 51 $config = parent::updateConfig($config); 53 $config['at'] = $this->at; 56 return $config;
|
/plugin/structat/syntax/ |
H A D | table.php | 78 $config = $parser->getConfig(); 80 $config = $this->addTypeFilter($config); 82 return $config; 131 * @param array $config 134 protected function addTypeFilter($config) argument 136 return $config;
|
/plugin/structcombolookup/ |
H A D | action.php | 60 $config = $field->column->getType()->getConfig(); 62 $search->addSchema($config['schema']); 71 $search->addColumn($config['narrow by']);
|
/plugin/structcombolookup/types/ |
H A D | NarrowingLookup.php | 11 protected $config = array( variable in dokuwiki\\plugin\\structcombolookup\\types\\NarrowingLookup 28 … $this->narrowByColumn = $this->getColumn($this->config['schema'], $this->config['narrow by']); 39 $schema = $this->config['schema']; 58 $schema = $this->config['schema']; 66 $search->addFilter($this->config['field'], $rawvalue, '='); 78 $schema = $this->config['schema']; 112 … 'onchange' => 'structcombolookup_change_narrowby(this, '.(int)$this->config['disable child'].')' 145 if ($this->config['disable child']) {
|
/plugin/structcondstyle/ |
H A D | action.php | 115 $config = array("operator" => $operator, 128 $data['config'][$key][] = $config;
|
/plugin/structgeohash/types/ |
H A D | GeoHash.php | 16 protected $config = array ( variable in dokuwiki\\plugin\\structgeohash\\types\\GeoHash 30 $rawvalue = $this->config['default']; 53 $rawvalue = $this->config['default']; 70 'data-urlTMP' => $this->config['urlTMP'], 71 'data-attribution' => $this->config['attribution'], 72 'data-maxZoom' => $this->config['maxZoom'], 73 'data-mapId' => $this->config['mapId'],
|