Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 41) sorted by path

12

/dokuwiki/inc/Action/
H A DSubscribe.php68 $params = [];
71 $params[$param] = $INPUT->str("sub_$param");
76 if (empty($params['action']) || !checkSecurityToken()) return;
79 Event::createAndTrigger('ACTION_HANDLE_SUBSCRIBE', $params, [$this, 'handlePostData']);
81 $target = $params['target'];
82 $style = $params['style'];
83 $action = $params['action'];
122 * @param array &$params the parameters: target, style and action
125 public function handlePostData(&$params)
132 if (!isset($params['targe
123 handlePostData(& $params) global() argument
[all...]
/dokuwiki/inc/ChangeLog/
H A DRevisionInfo.php181 $params = ['tab_details' => 'view', 'ns' => getNS($id), 'image' => $id];
182 if ($rev) $params += ['rev' => $rev];
183 $href = media_managerURL($params, '&');
188 $params = $rev ? ['rev' => $rev] : [];
189 $href = wl($id, $params, false, '&');
223 $params = ($rev) ? ['rev' => $rev] : [];
233 $href = ml($id, $params, false, '&');
237 $href = wl($id, $params, false, '&');
/dokuwiki/inc/Extension/
H A DAuthPlugin.php119 * @param array $params Parameters for the createUser, modifyUser or deleteUsers method.
123 public function triggerUserMod($type, $params)
135 $eventdata = ['type' => $type, 'params' => $params, 'modification_result' => null];
138 $result = call_user_func_array([$this, $validTypes[$type]], $evt->data['params']);
125 triggerUserMod($type, $params) global() argument
/dokuwiki/inc/Form/
H A DLegacyForm.php24 parent::__construct($oldform->params);
/dokuwiki/inc/Menu/Item/
H A DAbstractItem.php38 protected $params = []; variable in dokuwiki\\Menu\\Item\\AbstractItem
66 $this->params['do'] = $this->type;
111 * Basically runs wl() on $id and $params. However if the ID is a hash it is used directly
124 return wl($this->id, $this->params, false, '&');
228 return $this->params;
259 'params' => $this->params,
H A DBack.php25 $this->params = ['do' => ''];
H A DEdit.php28 $this->params['do'] = 'draft';
30 $this->params['rev'] = $REV;
37 $params['rev'] = $REV;
43 $this->params = ['do' => ''];
H A DImgBackto.php20 $this->params = [];
H A DLogin.php19 $this->params['sectok'] = getSecurityToken();
24 $this->params['do'] = 'logout';
H A DMedia.php19 $this->params['ns'] = getNS($ID);
H A DMediaManager.php26 $this->params = ['ns' => $imgNS, 'image' => $IMG, 'do' => 'media'];
H A DRevert.php23 $this->params['rev'] = $REV;
24 $this->params['sectok'] = getSecurityToken();
H A DTop.php20 $this->params = ['do' => ''];
/dokuwiki/inc/Menu/
H A DMobileMenu.php79 $params = $item->getParams();
80 $html .= '<option value="' . $params['do'] . '">';
/dokuwiki/inc/Remote/
H A DApiCore.php517 putPage($id, $text, $params = array()) global() argument
580 appendPage($id, $text, $params = array()) global() argument
681 putAttachment($id, $file, $params = array()) global() argument
/dokuwiki/inc/
H A Dcommon.php349 * @param array $params array with key-value pairs
353 function buildURLparams($params, $sep = '&amp;')
357 foreach ($params as $key => $val) { argument
374 * @param array $params array with (attribute name-attribute value) pairs
378 function buildAttributes($params, $skipEmptyStrings = false)
382 foreach ($params as $key => $val) {
381 buildAttributes($params, $skipEmptyStrings = false) global() argument
H A Dconfutils.php302 * @param array $params optional additional params to pass to the callback
310 function retrieveConfig($type, $fn, $params = null, $combine = 'array_merge')
314 if (!is_array($params)) $params = [];
322 $config = call_user_func_array($fn, array_merge([$file], $params));
299 retrieveConfig($type, $fn, $params = null, $combine = 'array_merge') global() argument
H A Ddeprecated.php66 public function __construct($key, array $params = null)
69 parent::__construct($key, $params);
80 public function __construct($key, array $params = null)
83 parent::__construct($key, $params);
94 public function __construct($key, array $params = null)
97 parent::__construct($key, $params);
64 __construct($key, array $params = null) global() argument
78 __construct($key, array $params = null) global() argument
92 __construct($key, array $params = null) global() argument
H A Dfarm.php58 $params = [];
59 parse_str($_SERVER['QUERY_STRING'], $params);
60 if (isset($params['animal'])) unset($params['animal']);
61 $_SERVER['QUERY_STRING'] = http_build_query($params);
H A Dform.php39 public $params = array();
58 * @param mixed $params Parameters for the HTML form element; Using the deprecated
66 public function __construct($params, $action = false, $method = false, $enctype = false)
68 if (!is_array($params)) {
69 $this->params = array('id' => $params);
70 if ($action !== false) $this->params['action'] = $action;
71 if ($method !== false) $this->params['method'] = strtolower($method);
72 if ($enctype !== false) $this->params['enctype'] = $enctype;
74 $this->params
38 public $params = array(); global() variable in Doku_Form
65 __construct($params, $action = false, $method = false, $enctype = false) global() argument
[all...]
H A Dhtml.php158 $params = array_merge(
164 $html .= html_btn('secedit', $ID, '', $params, 'post', $name);
195 * @param string[] $params key-value pairs added as hidden inputs
202 function html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg = null)
220 $params['id'] = $id;
225 if (is_array($params)) {
226 foreach ($params as $key => $val) {
924 * The parameters $params, $flashvars and $atts need to be associative arrays.
935 * @param array $params - additional parameters (<param>)
941 function html_flashobject($swf, $width, $height, $params
187 html_btn($name, $id, $akey, $params, $method = 'get', $tooltip = '', $label = false, $svg = null) global() argument
896 html_flashobject($swf, $width, $height, $params = null, $flashvars = null, $atts = null, $alt = '') global() argument
[all...]
H A Dmedia.php1499 * @param array|bool $params
1505 function media_managerURL($params = false, $amp = '&amp;', $abs = false, $params_array = false)
1516 if ($params) {
1517 $gets = $params + $gets;
1434 media_managerURL($params = false, $amp = '&amp;', $abs = false, $params_array = false) global() argument
/dokuwiki/inc/parser/
H A Dhandler.php943 // get params
944 [$link, $params] = sexplode(' ', $link, 2, '');
947 if (preg_match('/\b(\d+)\b/', $params, $match)) {
952 $p['reverse'] = (preg_match('/rev/', $params));
953 $p['author'] = (preg_match('/\b(by|author)/', $params));
954 $p['date'] = (preg_match('/\b(date)/', $params));
955 $p['details'] = (preg_match('/\b(desc|detail)/', $params));
956 $p['nosort'] = (preg_match('/\b(nosort)\b/', $params));
958 if (preg_match('/\b(\d+)([dhm])\b/', $params, $match)) {
1145 $params
[all...]
H A Dmetadata.php654 * @param array $params Finetuning of the output
656 public function rss($url, $params)
662 min($this->meta['date']['valid']['age'], $params['refresh']) :
663 $params['refresh'];
639 rss($url, $params) global() argument
H A Drenderer.php611 * @param array $params Finetuning of the output
613 public function rss($url, $params)
549 rss($url, $params) global() argument

12