Home
last modified time | relevance | path

Searched refs:default (Results 1 – 25 of 52) sorted by relevance

123

/dokuwiki/inc/Input/
H A DInput.php111 * @param mixed $default Default to return if parameter isn't set
115 public function param($name, $default = null, $nonempty = false) argument
117 if (!isset($this->access[$name])) return $default;
119 if ($nonempty && empty($value)) return $default;
141 * @param mixed $default If parameter is not set, initialize with this value
145 public function &ref($name, $default = '', $nonempty = false) argument
148 $this->set($name, $default);
158 * @param int $default Default to return if parameter isn't set or is an array
162 public function int($name, $default = 0, $nonempty = false) argument
164 if (!isset($this->access[$name])) return $default;
[all …]
/dokuwiki/_test/tests/inc/
H A DIpTest.php154 … $default = ['::1', 'fe80::/10', '127.0.0.0/8', '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16'];
157 $custom = array_merge($default, ['1.2.3.4', '1122::', '3.0.0.1/8', '1111:2222::/32']);
164 [$default, '127.0.0.1', true],
165 [$default, '127.1.2.3', true],
166 [$default, '10.1.2.3', true],
167 [$default, '11.1.2.3', false],
168 [$default, '172.16.0.1', true],
169 [$default, '172.160.0.1', false],
170 [$default, '172.31.255.255', true],
171 [$default, '172.32.0.0', false],
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DBaseDataCache.php77 * @param mixed $default Default value to return if the key does not exist.
84 public function get_data(string $key, $default = null) argument
89 return $default;
94 return $default;
99 return $default;
H A DPsr16.php85 * @param mixed $default Default value to return if the key does not exist.
92 public function get_data(string $key, $default = null) argument
94 $data = $this->cache->get($key, $default);
96 if (!is_array($data) || $data === $default) {
97 return $default;
H A DDataCache.php73 * @param mixed $default Default value to return if the key does not exist.
80 public function get_data(string $key, $default = null); argument
/dokuwiki/lib/plugins/config/_test/Setting/
H A DSettingTest.php59 * @param mixed $default The default value
63 public function testShouldBeSaved($default, $local, $expect) { argument
66 $setting->initialize($default, $local, null);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingCompression.php13 public function initialize($default = null, $local = null, $protected = null) argument
20 parent::initialize($default, $local, $protected);
H A DSettingLicense.php13 public function initialize($default = null, $local = null, $protected = null) argument
22 parent::initialize($default, $local, $protected);
H A DSettingDirchoice.php13 public function initialize($default = null, $local = null, $protected = null) argument
32 parent::initialize($default, $local, $protected);
H A DSetting.php16 protected $default; variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting
58 * @param mixed $default default setting value
62 public function initialize($default = null, $local = null, $protected = null) argument
64 $this->default = $this->cleanValue($default);
207 $value = is_null($this->local) ? $this->default : $this->local;
229 if ($this->default == $this->local) return false;
H A DSettingAuthtype.php11 public function initialize($default = null, $local = null, $protected = null) argument
21 parent::initialize($default, $local, $protected);
H A DSettingMulticheckbox.php55 $default = $this->str2array($this->default);
60 $idx_default = array_search($choice, $default);
77 if ($idx_default !== false) unset($default[$idx_default]);
87 (count($default) === count($value)) &&
88 (count($value) === count(array_intersect($value, $default)))
H A DSettingRenderer.php20 public function initialize($default = null, $local = null, $protected = null) argument
34 parent::initialize($default, $local, $protected);
/dokuwiki/inc/
H A DPrefCookie.php31 * @param mixed $default The default to return if no preference is set
34 public function get(string $pref, $default = null) argument
36 return $this->data[$pref] ?? $default;
/dokuwiki/inc/Feed/
H A DFeedCreatorOptions.php132 * @param mixed $default default value if option is not set (should usually not happen)
135 public function get($option, $default = null) argument
137 return $this->options[$option] ?? $default;
/dokuwiki/lib/tpl/dokuwiki/
H A Dtemplate.info.txt6 desc DokuWiki's default template since 2012
/dokuwiki/inc/TreeBuilder/Node/
H A DAbstractNode.php176 * @param mixed $default
179 public function getProperty(string $name, $default = null) argument
181 return $this->properties[$name] ?? $default;
/dokuwiki/vendor/geshi/geshi/
H A D.editorconfig14 ; Use editor default (possible autodetection).
/dokuwiki/
H A D.editorconfig17 ; Use editor default (possible autodetection).
/dokuwiki/lib/plugins/extension/
H A DExtension.php829 * @param mixed $default
832 protected function getTag($tag, $default = '') argument
838 return $this->getRemoteTag($tag, $default);
845 * @param mixed $default
848 protected function getRemoteTag($tag, $default = '') argument
854 return $default;
H A DGuiExtension.php206 $default = $this->getLang('unknown');
210 … $list['downloadurl'] = $this->shortlink($this->extension->getDownloadURL(), 'download', $default);
211 … $list['repository'] = $this->shortlink($this->extension->getSourcerepoURL(), 'repo', $default);
223 … $list['installed'] = $installDate ? dformat($installDate->getTimestamp()) : $default;
226 … $list['install_date'] = $updateDate ? dformat($updateDate->getTimestamp()) : $default;
234 : $default;
/dokuwiki/vendor/php81_bc/strftime/
H A D.gitattributes2 # Set default behavior, in case users don't have core.autocrlf set.
9 *.default text
/dokuwiki/lib/plugins/config/
H A Dstyle.css119 #config__manager tr.default .input,
120 #config__manager tr.default input,
121 #config__manager tr.default textarea,
122 #config__manager tr.default select,
/dokuwiki/inc/parser/
H A Dmetadata.php484 $default = $this->_simpleTitle($id);
498 $name = $this->_getLinkTitle($name, $default, $id);
703 * @param string $default default title if nothing else is found
708 public function _getLinkTitle($title, $default, $id = null) argument
714 return $default;
723 return $default;
/dokuwiki/lib/plugins/logviewer/lang/it/
H A Dintro.txt3 Questa interfaccia ti permette di visualizzare i vari log scritti da DokuWiki. Di default, non dovr…

123