Home
last modified time | relevance | path

Searched refs:val (Results 1 - 25 of 65) sorted by relevance

123

/dokuwiki/inc/Form/
H A DOptGroup.php24 * This is intended to be only called from within @see DropdownElement::val()
56 foreach ($options as $key => $val) {
57 if (is_array($val)) {
58 if (!key_exists('label', $val)) throw new \InvalidArgumentException(
61 if (key_exists('attrs', $val) && is_array($val['attrs']) && key_exists('selected', $val['attrs'])) {
63 'Please use function "DropdownElement::val()" to set the selected option'
66 $this->options[$key] = $val;
68 $this->options[$val]
[all...]
H A DLegacyForm.php37 ->val($ctl['text'])
121 foreach ($legacy as $key => $val) {
123 $control[substr($key, 1)] = $val;
125 $control[$key] = $val;
127 $control[$key] = $val;
129 $attributes[$key] = $val;
H A DTextareaElement.php34 public function val($value = null) function
52 formText($this->val()) . '</textarea>';
H A DValueElement.php29 $this->val($value);
38 public function val($value = null) function
H A DElement.php97 foreach ((array) $attributes as $key => $val) {
98 $this->attr($key, $val);
149 public function val($value = null) function
H A DCheckableElement.php33 $myvalue = $this->val();
76 .'<span>'. $this->label->val() .'</span>'.DOKU_LF
H A DLabelElement.php28 return '<label ' . buildAttributes($this->attrs()) . '>' . $this->val() . '</label>';
H A DHTMLElement.php29 return $this->val();
H A DTagOpenElement.php31 return '<'.$this->val().' '.buildAttributes($this->attrs()).'>';
/dokuwiki/lib/scripts/
H A Dcookie.js21 setValue: function(key,val){
25 if (val === false){
28 val = val + "";
29 this.data[key] = val;
34 jQuery.each(_this.data, function (key, val) {
36 text.push(encodeURIComponent(key)+'#'+encodeURIComponent(val));
H A Dlinkwiz.js56 dw_linkwiz.$entry.val(JSINFO.namespace+':');
96 }else if(dw_linkwiz.$entry.val()){
97 dw_linkwiz.insertLink(dw_linkwiz.$entry.val());
192 dw_linkwiz.$entry.val(a.title);
211 var link = dw_linkwiz.$entry.val(),
242 if(dw_linkwiz.val){
243 if(dw_linkwiz.val.open) {
244 so += dw_linkwiz.val.open.length;
245 link = dw_linkwiz.val.open+link;
252 if(dw_linkwiz.val
[all...]
H A Dtoolbar.js34 jQuery.each(tb, function (k, val) {
35 if (!tb.hasOwnProperty(k) || (!allowblock && val.block === true)) {
41 $btn = jQuery(createToolButton(val.icon, val.title, val.key, val.id,
42 val['class']));
45 actionFunc = 'tb_'+val.type;
47 $btn.on('click', bind(window[actionFunc],$btn,val,edid) );
53 actionFunc = 'addBtnAction'+val
[all...]
/dokuwiki/lib/tpl/
H A Dindex.php54 foreach($ini['replacements'] as $key => $val){
57 echo '<td>'.hsc($val).'</td>';
59 if(preg_match('/^#[0-f]{3,6}$/i',$val)){
60 echo '<div class="color" style="background-color:'.$val.';">&#160;</div>';
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUsers.php135 $val=0; variable
138 if (in_array("SCRIPT",$options)){ $val=$val+1; }
139 if (in_array("ACCOUNTDISABLE",$options)){ $val=$val+2; }
140 if (in_array("HOMEDIR_REQUIRED",$options)){ $val=$val+8; }
141 if (in_array("LOCKOUT",$options)){ $val=$val+16; }
142 if (in_array("PASSWD_NOTREQD",$options)){ $val
[all...]
/dokuwiki/inc/Ui/
H A DSubscribe.php92 foreach ($targets as $val => $label) {
93 $data = ($value === $val) ? ['checked' => 'checked'] : [];
94 $form->addRadioButton('sub_target', $label)->val($val)->attrs($data);
101 foreach ($styles as $val => $label) {
102 $data = ($value === $val) ? ['checked' => 'checked'] : [];
103 $form->addRadioButton('sub_style', $label)->val($val)->attrs($data);
H A DUserRegister.php42 ->val($INPUT->post->str('login'));
56 ->val($INPUT->post->str('fullname'));
61 ->val($INPUT->post->str('email'));
H A DUserProfile.php46 ->val($INPUT->server->str('REMOTE_USER'));
53 ->val($fullname);
60 ->val($email);
104 ->val('1');
/dokuwiki/lib/plugins/acl/
H A Dscript.js32 current_ns: $frm.find('input[name=ns]').val(),
33 current_id: $frm.find('input[name=id]').val()}),
109 $frm.find('input[name=ns]').val('');
110 $frm.find('input[name=id]').val(dw_acl.parseatt($link[0].search).id);
112 $frm.find('input[name=ns]').val(dw_acl.parseatt($link[0].search).ns);
113 $frm.find('input[name=id]').val('');
/dokuwiki/inc/
H A Dform.php330 foreach($entries as $val => $cap) {
331 $data = ($value === $val) ? array('checked' => 'checked') : array();
332 $this->addElement(form_makeRadioField($name, $val, $cap, '', '', $data));
636 foreach ($values as $val => $text) {
637 $options[] = array($val, $text, (!is_null($selected) && $val==$selected));
641 foreach ($values as $val) {
642 if (is_array($val))
643 @list($val, $text) = $val;
[all...]
H A Dconfutils.php140 list($key, $val) = explode('=', $line, 2);
142 $val = trim($val); variable
143 $versions[$key] = $val;
461 foreach ($new as $val) {
462 if (substr($val,0,1) == DOKU_CONF_NEGATION) {
463 $idx = array_search(trim(substr($val,1)),$current);
468 $current[] = trim($val);
/dokuwiki/inc/HTTP/
H A DHTTPClient.php341 list($key,$val) = explode('=',$cookie,2);
343 if($val == 'deleted'){
348 $this->cookies[$key] = $val;
765 @list($key, $val) = explode(':',$line,2);
767 $val = trim($val); variable
772 $headers[$key][] = $val;
774 $headers[$key] = array($headers[$key],$val);
777 $headers[$key] = $val;
809 foreach ($this->cookies as $key => $val){
[all...]
/dokuwiki/inc/Search/
H A DIndexer.php209 foreach ($values as $val) {
210 $val = (string)$val; variable
211 if ($val !== "") {
212 $id = array_search($val, $metawords, true);
214 // didn't find $val, so we'll add it to the end of metawords and create a placeholder in metaidx
216 $metawords[$id] = $val;
669 foreach ($value_array as $val) {
671 if (call_user_func_array($func, array($val, $word)))
672 $value_ids[$i][] = $val;
[all...]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DOptions.php252 $val = array_shift($arg); variable
260 if (is_null($val) && $i + 1 < $argc && !preg_match('/^--?[\w]/', $this->args[$i + 1])) {
261 $val = $this->args[++$i]; variable
263 if (is_null($val)) {
267 $this->options[$opt] = $val;
285 $val = null; variable
287 $val = $this->args[++$i]; variable
289 if (is_null($val)) {
293 $this->options[$opt] = $val;
H A DCLI.php350 foreach ($context as $key => $val) {
352 if (!is_array($val) && (!is_object($val) || method_exists($val, '__toString'))) {
353 $replace['{' . $key . '}'] = $val;
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php811 foreach ($params as $key => $val) {
812 if (is_int($val)) {
813 $val = $this->pdo->quote($val, PDO::PARAM_INT); variable
814 } elseif (is_bool($val)) {
815 $val = $this->pdo->quote($val, PDO::PARAM_BOOL); variable
816 } elseif (is_null($val)) {
817 $val = 'NULL'; variable
819 $val variable
[all...]

Completed in 25 milliseconds

123