Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 56) sorted by path

123

/dokuwiki/inc/
H A DDifferenceEngine.php1416 $bb->input($orig);
1527 function input($lines) { function in _Diff3_BlockBuilder
H A Dio.php724 * Runs an external command with input and output pipes.
728 * @param string $input input pipe
734 function io_exec($cmd, $input, &$output)
744 fwrite($pipes[0], $input);
683 io_exec($cmd, $input, & $output) global() argument
H A Dmedia.php316 $input = fopen("php://input", "r");
320 $realSize = stream_copy_to_stream($input, $target);
322 fclose($input);
/dokuwiki/inc/Extension/
H A DPluginController.php388 * Returns inverse boolean value of the input
390 * @param mixed $input
391 * @return bool inversed boolean value of input
393 protected function negate($input)
395 return !(bool)$input;
398 negate($input) global() argument
/dokuwiki/inc/Form/
H A DCheckableElement.php47 $input = $INPUT->arr($name);
48 if (isset($input[$key])) {
52 if (is_array($input[$key])) {
53 $input = $input[$key];
56 foreach ($input as $value) {
/dokuwiki/inc/Ui/
H A DEditor.php120 $input = $form->addTextInput('summary', $lang['summary'])
124 $input->getLabel()->attr('class', 'nowrap');
H A DLogin.php53 $input = $form->addTextInput('u', $lang['user'])->id('focus__this')->addClass('edit')
55 $input->getLabel()->attr('class', 'block');
58 $input = $form->addPasswordInput('p', $lang['pass'])->addClass('block edit');
59 $input->getLabel()->attr('class', 'block');
H A DPageDiff.php311 $input = $form->addDropdown('difftype', $options, $lang['diff_type'])
314 $input->useInput(false); // inhibit prefillInput() during toHTML() process
481 $input = $form->addDropdown('rev2[0]', $options)
483 $input->useInput(false);
487 $input = $form->addDropdown('rev2[1]', $options)
489 $input->useInput(false);
H A DUserProfile.php63 $input = $form->addPasswordInput('oldpass', $lang['oldpass'])->attrs($attr)
65 $input->getLabel()->attr('class', 'block');
87 $input = $form->addTextInput('login', $lang['user'])
91 $input->getLabel()->attr('class', 'block');
96 $input = $form->addTextInput('fullname', $lang['fullname'])
100 $input->getLabel()->attr('class', 'block');
105 $input = $form->addTextInput('email', $lang['email'])
109 $input->getLabel()->attr('class', 'block');
114 $input = $form->addPasswordInput('newpass', $lang['newpass'])->attrs($attr)->addClass('edit');
115 $input
[all...]
H A DUserRegister.php41 $input = $form->addTextInput('login', $lang['user'])->attrs($base_attrs)->addClass('edit')
43 $input->getLabel()->attr('class', 'block');
47 $input = $form->addPasswordInput('pass', $lang['pass'])->attrs($base_attrs)->addClass('edit');
48 $input->getLabel()->attr('class', 'block');
50 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attrs($base_attrs)->addClass('edit');
51 $input->getLabel()->attr('class', 'block');
55 $input = $form->addTextInput('fullname', $lang['fullname'])->attrs($base_attrs)->addClass('edit')
57 $input->getLabel()->attr('class', 'block');
60 $input = $form->addTextInput('email', $lang['email'])->attrs($email_attrs)->addClass('edit')
62 $input
[all...]
H A DUserResendPwd.php61 $input = $form->addPasswordInput('pass', $lang['pass'])->attr('size', '50')->addClass('edit');
62 $input->getLabel()->attr('class', 'block');
64 $input = $form->addPasswordInput('passchk', $lang['passchk'])->attr('size', '50')->addClass('edit');
65 $input->getLabel()->attr('class', 'block');
90 $input = $form->addTextInput('login', $lang['user'])->addClass('edit');
91 $input->getLabel()->attr('class', 'block');
/dokuwiki/lib/plugins/config/
H A Dadmin.php95 echo '<div class="no"><input type="hidden" name="id" value="' . $ID . '" /></div>';
127 [$label, $input] = $setting->html($this, $this->hasErrors);
145 echo '<td' . $error . '>' . $input . '</td>';
177 [$label, $input] = $setting->html($this);
180 echo '<td>' . $input . '</td>';
190 echo '<input type="hidden" name="do" value="admin" />';
191 echo '<input type="hidden" name="page" value="config" />';
194 echo '<input type="hidden" name="save" value="1" />';
/dokuwiki/lib/plugins/config/core/
H A DConfiguration.php103 * @param array $input as posted
106 public function updateSettings($input)
111 $value = $input[$key] ?? null;
101 updateSettings($input) global() argument
/dokuwiki/lib/plugins/config/core/Setting/
H A DSetting.php27 protected $input; // only used by those classes which error check
70 * update changed setting with validated user provided value $input
71 * - if changed value fails validation check, save it to $this->input (to allow echoing later)
74 * @param mixed $input the new value argument
77 public function update($input)
79 if (is_null($input)) return false;
81 $input = $this->cleanValue($input);
84 if ($value == $input) return false;
87 if ($this->pattern && !preg_match($this->pattern, $input)) {
26 protected $input = null; // only used by those classes which error check global() variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting
[all...]
H A DSettingArray.php37 * update setting with user provided value $input
40 * @param string $input
43 public function update($input)
45 if (is_null($input)) return false;
48 $input = $this->fromString($input);
51 if ($value == $input) return false;
53 foreach ($input as $item) {
56 $this->input = $input;
41 update($input) global() argument
[all...]
H A DSettingAuthtype.php25 public function update($input)
32 if (!parent::update($input)) return false; // nothing changed or an error caught by parent
36 $auth_plugin = $plugin_controller->load('auth', $input);
41 msg('Cannot load Auth Plugin "' . $input . '"', -1);
48 msg('Cannot create Auth Plugin "' . $input . '"', -1);
54 if ($conf['authtype'] != $input) {
59 $this->local = $input;
24 update($input) global() argument
H A DSettingEmail.php14 public function update($input)
16 if (is_null($input)) return false;
20 if ($value == $input) return false;
21 if ($input === '') {
22 $this->local = $input;
25 $mail = $input;
52 $this->input = $input;
57 $this->local = $input;
13 update($input) global() argument
H A DSettingImConvert.php11 public function update($input) argument
15 $input = trim($input);
18 if ($value == $input) return false;
20 if ($input && !file_exists($input)) {
22 $this->input = $input;
26 $this->local = $input;
H A DSettingMulticheckbox.php15 public function update($input) argument
20 $input = $input ?: [];
21 $input = $this->array2str($input);
24 if ($value == $input) return false;
26 if ($this->pattern && !preg_match($this->pattern, $input)) {
28 $this->input = $input;
32 $this->local = $input;
140 array2str($input) global() argument
[all...]
H A DSettingMultichoice.php40 $input = "<div class=\"input\">\n";
41 $input .= '<select class="edit" id="config___' . $key . '" name="config[' . $key . ']"' . $disable . '>' . "\n";
52 $input .= ' <option value="' . $choice . '"' . $selected . ' >' . $option . '</option>' . "\n";
54 $input .= "</select> $nochoice \n";
55 $input .= "</div>\n";
57 return [$label, $input];
61 public function update($input)
63 if (is_null($input)) return false;
67 if ($value == $input) retur
59 update($input) global() argument
[all...]
H A DSettingNumeric.php18 public function update($input)
21 $valid = parent::update($input);
29 $this->input = $input;
17 update($input) global() argument
H A DSettingNumericopt.php17 public function update($input)
19 if ($input === '') {
20 if ($input == $this->local) return false;
21 $this->local = $input;
25 return parent::update($input);
16 update($input) global() argument
H A DSettingOnoff.php43 $input = '<div class="input"><input id="config___' . $key . '" name="config[' . $key .
45 return [$label, $input];
49 public function update($input)
53 $input = ($input) ? 1 : 0;
55 if ($value == $input) return false;
57 $this->local = $input;
47 update($input) global() argument
H A DSettingPassword.php13 public function update($input) argument
16 if (!$input) return false;
18 if ($this->pattern && !preg_match($this->pattern, $input)) {
20 $this->input = $input;
24 $this->local = conf_encodeString($input, $this->code);
37 $input = '<input id="config___' . $key . '" name="config[' . $key .
39 return [$label, $input];
H A DSettingRegex.php10 protected $delimiter = '/'; // regex delimiter to be used in testing input
11 protected $pregflags = 'ui'; // regex pattern modifiers to be used in testing input
14 public function update($input) argument
19 if (!parent::update($input)) return false;
23 $regex = $this->delimiter . $input . $this->delimiter . $this->pregflags;
27 $this->input = $input;
32 $this->local = $input;

123