/dokuwiki/lib/plugins/popularity/ |
H A D | helper.php | 15 * The url where the data should be sent 31 * Name of the file which determine when the popularity data was manually 33 * (If this file doesn't exist, the data has never been sent) 51 * @return boolean TRUE if we should send data once a month, FALSE otherwise 59 * Send the data, to the submit url 61 * @param string $data The popularity data 64 public function sendData($data) 68 $status = $httpClient->sendRequest($this->submitUrl, ['data' => $data], 'POS 63 sendData($data) global() argument 263 addPluginUsageData(& $data) global() argument 289 searchCountCallback(& $data, $base, $file, $type, $lvl, $opts) global() argument [all...] |
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/ |
H A D | Value.php | 7 private $data; variable in IXR\\DataType\\Value 10 public function __construct($data, $type = null) argument 12 $this->data = $data; 19 foreach ($this->data as $key => $value) { 20 $this->data[$key] = new Value($value); 24 for ($i = 0, $j = count($this->data); $i < $j; $i++) { 25 $this->data[$i] = new Value($this->data[$i]); 32 if ($this->data [all...] |
H A D | Base64.php | 12 private $data; variable in IXR\\DataType\\Base64 14 public function __construct($data) argument 16 $this->data = $data; 21 return '<base64>' . base64_encode($this->data) . '</base64>';
|
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | DB.php | 60 * Converts a given {@see SimplePie} object into data to be stored 62 * @param \SimplePie\SimplePie $data 63 * @return array First item is the serialized data for storage, second item is the unique ID for this item 65 protected static function prepare_simplepie_object_for_cache($data) argument 67 $items = $data->get_items(); 82 if (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0])) { 83 $channel =& $data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0]; 84 } elseif (isset($data [all...] |
H A D | Memcached.php | 51 * Caches data to memcached 57 * prefixed with `sp_` and data will expire after 3600 seconds 89 * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 110 * Save data to the cache 111 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property 114 public function save($data) argument 116 if ($data instanceof \SimplePie\SimplePie) { 117 $data 170 setData($data) global() argument [all...] |
H A D | Memcache.php | 51 * Caches data to memcache 57 * prefixed with `sp_` and data will expire after 3600 seconds 92 * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 113 * Save data to the cache 115 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property 118 public function save($data) argument 120 if ($data instanceof \SimplePie\SimplePie) { 121 $data [all...] |
H A D | Redis.php | 51 * Caches data to redis 57 * prefixed with `simple_primary-` and data will expire after 3600 seconds 92 * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 129 * Save data to the cache 131 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property 134 public function save($data) argument 136 if ($data instanceof \SimplePie\SimplePie) { 137 $data [all...] |
H A D | File.php | 49 * Caches data to the filesystem 91 * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 102 * Save data to the cache 104 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property 107 public function save($data) argument 110 if ($data instanceof \SimplePie\SimplePie) { 111 $data = $data [all...] |
H A D | BaseDataCache.php | 87 $data = $this->cache->load(); 89 if (! is_array($data)) { 93 // ignore data if internal cache expiration time is not set 94 if (! array_key_exists('__cache_expiration_time', $data)) { 98 // ignore data if internal cache expiration time is expired 99 if ($data['__cache_expiration_time'] < time()) { 104 unset($data['__cache_expiration_time']); 106 return $data; 110 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
|
/dokuwiki/lib/exe/ |
H A D | fetch.php | 46 // prepare data for plugin events 47 $data = [ 65 'font-src' => "'self' data:", 72 $evt = new Event('FETCH_MEDIA_STATUS', $data); 75 if ($data['status'] > 300 && $data['status'] <= 304) { 77 send_redirect($data['statusmessage']); 80 if ($data['status'] != 200) { 81 http_status($data['status'], $data['statusmessag 45 $data = array( global() variable [all...] |
/dokuwiki/inc/Subscriptions/ |
H A D | SubscriberRegexBuilder.php | 14 * @param string|array $data 17 * @throws Exception when no data is passed 21 public function buildRegex($user = null, $style = null, $data = null) 26 $data = (array)$data; 31 $data = array_filter(array_map('trim', $data)); 40 $data = array_map('preg_quote_cb', $data); 45 $data 22 buildRegex($user = null, $style = null, $data = null) global() argument [all...] |
H A D | SubscriberManager.php | 33 * @param string $data 37 public function add($id, $user, $style, $data = '') 48 $data = trim($data); 56 if (!$data) { 57 $data = time(); 60 $line = "$user $style $data\n"; 76 * @param string|array $data 81 public function remove($id, $user = null, $style = null, $data = null) argument 93 $re = $regexBuilder->buildRegex($user, $style, $data); 38 add($id, $user, $style, $data = '') global() argument 164 subscribers($page, $user = null, $style = null, $data = null) global() argument 231 notifyAddresses(& $data) global() argument [all...] |
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/ |
H A D | Entities.php | 63 public $data = ''; variable in SimplePie_Decode_HTML_Entities 82 * Create an instance of the class with the input data 85 * @param string $data Input data 87 public function __construct($data) argument 89 $this->data = $data; 93 * Parse the input data 96 * @return string Output data 100 while (($this->position = strpos($this->data, ' [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
H A D | Parser.php | 127 * Input data 131 protected $data = ''; variable in SimplePie\\HTTP\\Parser 134 * Input data length (to avoid calling strlen() everytime this is needed) 162 * Create an instance of the class with the input data 164 * @param string $data Input data 166 public function __construct($data) argument 168 $this->data = $data; 169 $this->data_length = strlen($this->data); [all...] |
/dokuwiki/inc/Extension/ |
H A D | AdminPlugin.php | 92 $data = []; 93 $data['instance'] = $this; 94 $data['hasAccess'] = false; 96 $event = new Event('ADMINPLUGIN_ACCESS_CHECK', $data); 99 $data['hasAccess'] = auth_isadmin(); 101 $data['hasAccess'] = auth_ismanager(); 106 return $data['hasAccess'];
|
H A D | RemotePlugin.php |
|
/dokuwiki/lib/scripts/ |
H A D | cookie.js | 13 data: {}, property in DokuCookie 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 [all...] |
/dokuwiki/inc/File/ |
H A D | PageFile.php | 22 /* @var array $data initial data when event COMMON_WIKIPAGE_SAVE triggered */ 23 protected $data; variable in dokuwiki\\File\\PageFile 77 * @return array|void data of event COMMON_WIKIPAGE_SAVE 94 if (isset($this->data)) return; 101 // prepare data for event COMMON_WIKIPAGE_SAVE 102 $data = [ 117 // determine tentatively change type and relevant elements of event data 118 if ($data['revertFrom']) { 120 $data['changeTyp [all...] |
/dokuwiki/inc/Action/ |
H A D | Export.php | 28 * Event data: 29 * data['id'] -- page id 30 * data['mode'] -- requested export mode 31 * data['headers'] -- export headers 32 * data['output'] -- export output 95 // prepare event data 96 $data = []; 97 $data['id'] = $ID; 98 $data['mode'] = $mode; 99 $data['header [all...] |
/dokuwiki/inc/Remote/ |
H A D | XmlRpcServer.php | 28 public function serve($data = false) 44 parent::serve($data); 29 serve($data = false) global() argument 67 toDate($data) global() argument 76 toFile($data) global() argument
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
H A D | SCP.php |
|
/dokuwiki/inc/ |
H A D | Ajax.php | 58 $data = ft_pageLookup($query, true, useHeading('navigation')); 60 if ($data === []) return; 65 foreach ($data as $id => $title) { 101 $data = ft_pageLookup($query); 102 if ($data === []) return; 103 $data = array_keys($data); 106 $data = array_slice($data, 0, 15); 107 $data [all...] |
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Parser.php | 72 public $data = []; variable in SimplePie\\Parser 83 public function parse(&$data, $encoding, $url = '') argument 87 @$doc->loadHTML($data); 95 return $this->parse_microformats($data, $url); 108 if (substr($data, 0, 4) === "\x00\x00\xFE\xFF") { 109 $data = substr($data, 4); 112 elseif (substr($data, 0, 4) === "\xFF\xFE\x00\x00") { 113 $data = substr($data, 379 parse_hcard($data, $category = false) global() argument 403 parse_microformats(& $data, $url) global() argument [all...] |
H A D | Item.php | 49 * Manages all item-related data 69 * Raw data 74 public $data = []; variable in SimplePie\\Item 91 * @param array $data Raw data 93 public function __construct($feed, $data) argument 96 $this->data = $data; 119 return md5(serialize($this->data)); 133 * Get data fo 184 sanitize($data, $type, $base = '') global() argument [all...] |
/dokuwiki/inc/Ui/ |
H A D | Backlinks.php | 28 $data = ft_backlinks($ID); 30 if (!empty($data)) { 32 foreach ($data as $blink) {
|