Home
last modified time | relevance | path

Searched refs:data (Results 1 - 25 of 111) sorted by relevance

12345

/dokuwiki/lib/plugins/popularity/
H A Dhelper.php14 * The url where the data should be sent
30 * Name of the file which determine when the popularity data was manually
32 * (If this file doesn't exist, the data has never been sent)
50 * @return boolean TRUE if we should send data once a month, FALSE otherwise
58 * Send the data, to the submit url
60 * @param string $data The popularity data
63 public function sendData($data)
67 $status = $httpClient->sendRequest($this->submitUrl, array('data' => $data), 'POS
94 $data = $this->gather(); global() variable
116 $data = array(); global() variable
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DDB.php55 * Converts a given {@see SimplePie} object into data to be stored
57 * @param SimplePie $data
58 * @return array First item is the serialized data for storage, second item is the unique ID for this item
60 protected static function prepare_simplepie_object_for_cache($data)
62 $items = $data->get_items();
81 if (isset($data->data['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['feed'][0]))
83 $channel =& $data->data['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['feed'][0];
85 elseif (isset($data
[all...]
H A DMemcached.php45 * Caches data to memcached
51 * prefixed with `sp_` and data will expire after 3600 seconds
82 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
102 * Save data to the cache
103 * @param array|SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property
106 public function save($data) {
107 if ($data instanceof SimplePie) {
108 $data variable
119 $data = $this->cache->get($this->name); global() variable
132 $data = $this->cache->get($this->name . '_mtime'); global() variable
141 $data = $this->cache->get($this->name); global() variable
[all...]
H A DMemcache.php45 * Caches data to memcache
51 * prefixed with `sp_` and data will expire after 3600 seconds
85 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
106 * Save data to the cache
108 * @param array|SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property
111 public function save($data)
113 if ($data instanceof SimplePie)
115 $data variable
127 $data = $this->cache->get($this->name); global() variable
143 $data = $this->cache->get($this->name); global() variable
161 $data = $this->cache->get($this->name); global() variable
[all...]
H A DRedis.php15 * Caches data to redis
21 * prefixed with `simple_primary-` and data will expire after 3600 seconds
54 protected $data; variable
61 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
96 * Save data to the cache
98 * @param array|SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property
101 public function save($data) {
102 if ($data instanceo
103 $data = $data->data; global() variable
119 $data = $this->cache->get($this->name); global() variable
134 $data = $this->cache->get($this->name); global() variable
150 $data = $this->cache->get($this->name); global() variable
[all...]
H A DFile.php45 * Caches data to the filesystem
86 * @param string $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
97 * Save data to the cache
99 * @param array|SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property
102 public function save($data)
106 if ($data instanceof SimplePie)
108 $data = $data variable
111 $data = serialize($data); global() variable
[all...]
/dokuwiki/lib/exe/
H A Dfetch.php44 // prepare data for plugin events
45 $data = array( variable
70 $evt = new Event('FETCH_MEDIA_STATUS', $data);
73 if($data['status'] > 300 && $data['status'] <= 304) {
75 send_redirect($data['statusmessage']);
78 if($data['status'] != 200) {
79 http_status($data['status'], $data['statusmessage']);
82 if($data['statu
[all...]
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php15 * @param string|array $data
18 * @throws Exception when no data is passed
22 public function buildRegex($user = null, $style = null, $data = null)
27 $data = (array)$data; variable
32 $data = array_filter(array_map('trim', $data)); variable
40 $data = array_map('preg_quote_cb', $data); variable
45 $data variable
63 $data = '\\S+'; global() variable
[all...]
H A DSubscriberManager.php34 * @param string $data
38 public function add($id, $user, $style, $data = '')
49 $data = trim($data); variable
57 if (!$data) {
58 $data = time(); variable
61 $line = "$user $style $data\n";
77 * @param string|array $data
81 public function remove($id, $user = null, $style = null, $data = null)
93 $re = $regexBuilder->buildRegex($user, $style, $data);
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/HTTP/
H A DParser.php96 * Input data
100 protected $data = ''; variable
103 * Input data length (to avoid calling strlen() everytime this is needed)
131 * Create an instance of the class with the input data
133 * @param string $data Input data
135 public function __construct($data)
137 $this->data = $data; variable
138 $this->data_length = strlen($this->data);
153 $this->data = ''; global() variable
508 $data = explode("\\r\\n\\r\\n", $headers, $count); global() variable
509 $data = array_pop($data); global() variable
511 $data = str_ireplace("HTTP/1.0 200 Connection established\\r\\n\\r\\n", '', $data); global() variable
514 $data = str_ireplace("HTTP/1.1 200 Connection established\\r\\n\\r\\n", '', $data); global() variable
[all...]
/dokuwiki/lib/scripts/
H A Dcookie.js13 data: {},
26 delete this.data[key];
29 this.data[key] = val;
33 //save the whole data array
34 jQuery.each(_this.data, function (key, val) {
35 if (_this.data.hasOwnProperty(key)) {
50 return this.data.hasOwnProperty(key) ? this.data[key] : def;
60 if(!jQuery.isEmptyObject(this.data)) {
67 this.data[decodeURIComponen
12 var DokuCookie = { global() property in DokuCookie
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php61 var $data = ''; variable
80 * Create an instance of the class with the input data
83 * @param string $data Input data
85 public function __construct($data)
87 $this->data = $data; variable
91 * Parse the input data
94 * @return string Output data
98 while (($this->position = strpos($this->data, '
135 $data = substr($this->data, $this->position, $len); global() variable
218 $this->data = substr_replace($this->data, $replacement, $this->position - $consumed_length, $consumed_length); global() variable
604 $this->data = substr_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strlen($match) + 1); global() variable
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/XML/Declaration/
H A DParser.php86 * Input data
91 var $data = ''; variable
94 * Input data length (to avoid calling strlen() everytime this is needed)
110 * Create an instance of the class with the input data
113 * @param string $data Input data
115 public function __construct($data)
117 $this->data = $data; variable
118 $this->data_length = strlen($this->data);
134 $this->data = ''; global() variable
[all...]
/dokuwiki/inc/Extension/
H A DAdminPlugin.php82 $data = []; variable
83 $data['instance'] = $this;
84 $data['hasAccess'] = false;
86 $event = new Event('ADMINPLUGIN_ACCESS_CHECK', $data);
89 $data['hasAccess'] = auth_isadmin();
91 $data['hasAccess'] = auth_ismanager();
96 return $data['hasAccess'];
H A DRemotePlugin.php60 // prepare data
61 $data = array(); variable
62 $data['name'] = $method_name;
63 $data['public'] = 0;
64 $data['doc'] = $doc;
65 $data['args'] = array();
74 $data['args'][] = $type;
79 $data['return'] = $this->cleanTypeHint($m[1]);
81 $data['return'] = 'string';
85 $result[$method_name] = $data;
[all...]
H A DEvent.php15 /** @var mixed|null READWRITE data relevant to the event, no standardised format, refer to event docs */
16 public $data = null; variable
35 * @param mixed $data
37 public function __construct($name, &$data)
41 $this->data =& $data; variable
58 * $evt = new dokuwiki\Plugin\Doku_Event(name, data);
107 * - carry out the default action using $this->data based on $enablePrevent and
133 $this->result = call_user_func_array($action, [&$this->data]);
188 * @param mixed $data even
[all...]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DParser.php66 var $data = array(); variable
77 public function parse(&$data, $encoding, $url = '')
81 @$doc->loadHTML($data);
89 return $this->parse_microformats($data, $url);
105 if (substr($data, 0, 4) === "\x00\x00\xFE\xFF")
107 $data = substr($data, 4); variable
110 elseif (substr($data, 0, 4) === "\xFF\xFE\x00\x00")
112 $data = substr($data, variable
117 $data = substr($data, 2); global() variable
122 $data = substr($data, 2); global() variable
127 $data = substr($data, 3); global() variable
135 $data = substr($data, $pos + 2); global() variable
136 $data = '<?xml version="' . $declaration->version . '" encoding="' . $encoding . '" standalone="' . (($declaration->standalone) ? 'yes' : 'no') . '"?>' ."\\n". $this->declare_html_entities() . $data; global() variable
331 $this->data =& $this->data['child'][end($this->namespace)][end($this->element)][]; global() variable
332 $this->data = array('data' => '', 'attribs' => $attribs, 'xml_base' => end($this->xml_base), 'xml_base_explicit' => end($this->xml_base_explicit), 'xml_lang' => end($this->xml_lang)); global() variable
368 $this->data =& $this->datas[count($this->datas) - 1]; global() variable
652 $this->data = array('child' => array('' => array('rss' => $rss))); global() variable
[all...]
H A DMisc.php126 $return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = SimplePie_Misc::entities_decode(end($attribs[$j]));
140 $full .= " $key=\"" . htmlspecialchars($value['data'], ENT_COMPAT, 'UTF-8') . '"';
298 * @param string $data Raw data in $input encoding
299 * @param string $input Encoding of $data
303 public static function change_encoding($data, $input, $output)
319 $data = substr($data, 0, strcspn($data, $non_ascii_octects)); variable
325 return SimplePie_Misc::windows_1252_to_utf8($data);
1761 $data = substr_replace($data, '', 0, $end + 3); global() variable
1765 $data = ''; global() variable
[all...]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php49 * Reads data from a local file.
53 * Reads data from a string.
123 * By default, \phpseclib\Net\SCP::put() does not read from the local filesystem. $data is dumped directly into $remote_file.
124 * So, for example, if you set $data to 'filename.ext' and then do \phpseclib\Net\SCP::get(), you will get a file, twelve bytes
135 * @param string $data
141 function put($remote_file, $data, $mode = self::SOURCE_STRING, $callback = null)
168 $size = strlen($data);
170 if (!is_file($data)) {
171 user_error("$data is not a valid file", E_USER_NOTICE);
175 $fp = @fopen($data, 'r
249 $data = $this->_receive(); global() variable
283 $data = pack('CNa*', NET_SSH1_CMSG_STDIN_DATA, strlen($data), $data); global() variable
[all...]
/dokuwiki/inc/
H A DAjax.php53 $data = ft_pageLookup($query, true, useHeading('navigation')); variable
55 if(!count($data)) return;
60 foreach($data as $id => $title) {
95 $data = ft_pageLookup($query); variable
96 if(!count($data)) return;
97 $data = array_keys($data); variable
100 $data = array_slice($data, 0, 15); variable
101 $data variable
102 $data = array_map('noNS', $data); global() variable
103 $data = array_unique($data); global() variable
190 $data = array(); global() variable
324 $data = array(); global() variable
352 $data = array(); global() variable
[all...]
H A Dsearch.php17 * @param array &$data The results of the search are stored here
27 function search(&$data,$base,$func,$opts,$dir='',$lvl=1,$sort='natural'){
61 if (call_user_func_array($func, array(&$data,$base,$dir,'d',$lvl,$opts))){
62 search($data,$base,$func,$opts,$dir,$lvl+1,$sort);
67 call_user_func_array($func, array(&$data,$base,$file,'f',$lvl,$opts));
78 * array &$data - Reference to the result data structure
99 * @param array $data
108 function search_qsearch(&$data,$base,$file,$type,$lvl,$opts){
114 return search_universal($data,
[all...]
/dokuwiki/inc/Remote/
H A DXmlRpcServer.php45 * @param string|int $data iso date(yyyy[-]mm[-]dd[ hh:mm[:ss]]) or timestamp
48 public function toDate($data)
50 return new \IXR_Date($data);
54 * @param string $data
57 public function toFile($data)
59 return new \IXR_Base64($data);
/dokuwiki/inc/Ui/
H A DEditor.php17 * preprocess edit form data
73 // prepare data for EDIT_FORM_ALTERNATE event
74 $data = array( variable
82 if ($data['target'] !== 'section') {
83 // Only emit event if page is writable, section edit data is valid and
85 Event::createAndTrigger('EDIT_FORM_ADDTEXTAREA', $data, [$this,'addTextarea'], true);
87 $this->addTextarea($data);
90 $form->setHiddenField('target', $data['target']);
157 if (isset($data['intro_locale'])) {
158 echo p_locale_xhtml($data['intro_local
[all...]
/dokuwiki/inc/Action/
H A DExport.php27 * Event data:
28 * data['id'] -- page id
29 * data['mode'] -- requested export mode
30 * data['headers'] -- export headers
31 * data['output'] -- export output
93 // prepare event data
94 $data = array(); variable
95 $data['id'] = $ID;
96 $data['mode'] = $mode;
97 $data['header
[all...]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php42 $data = array( variable
46 Event::createAndTrigger('MENU_ITEMS_ASSEMBLY', $data, array($this, 'loadItems'));
47 return $data['items'];
54 * @param array $data The plugin data
56 public function loadItems(&$data) {
63 $data['items'][] = $item;

Completed in 29 milliseconds

12345