| /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) argument 68 $status = $httpClient->sendRequest($this->submitUrl, ['data' => $data], 'POST'); 76 * Compute the last time the data was sent. If it has never been sent, we return 0. 91 * @return string The popularity data as a string [all …]
|
| /dokuwiki/_test/tests/Extension/ |
| H A D | EventTest.php | 9 static public function staticFunc(&$data) argument 11 $data['test'] = strtoupper($data['test']); 14 public function dynamicFunc(&$data) argument 16 $data['test'] = strtoupper($data['test']); 21 $data = 'test'; 22 $result = Event::createAndTrigger('TESTTRIGGER', $data, 'strtoupper'); 28 $data = ['test' => 'test']; 29 Event::createAndTrigger('TESTTRIGGER', $data, [$this, 'dynamicFunc']); 30 $this->assertEquals(['test' => 'TEST'], $data); 35 $data = ['test' => 'test']; [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 === true || $this->data === false) { 35 if (is_integer($this->data)) { 38 if (is_double($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/_test/data/meta/ |
| H A D | mailinglist.changes | 5 1362525359 127.0.0.1 E mailinglist pubcie [Data entry] 6 1362525899 127.0.0.1 E mailinglist pubcie [Data entry] 8 1362526039 127.0.0.1 E mailinglist pubcie [Data entry] 10 1362526167 127.0.0.1 E mailinglist pubcie [Data entry] 11 1362526767 127.0.0.1 E mailinglist pubcie [Data entry] 12 1362526861 127.0.0.1 E mailinglist pubcie [Data entry] 13 1362527046 127.0.0.1 E mailinglist pubcie [Data entry] 14 1362527164 127.0.0.1 E mailinglist pubcie [Data entry] 18 1368612506 127.0.0.1 E mailinglist pubcie [Data entry] 19 1368612599 127.0.0.1 E mailinglist pubcie [Data entry] [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) argument 26 $data = (array)$data; 31 $data = array_filter(array_map('trim', $data)); 40 $data = array_map('preg_quote_cb', $data); 45 $data = implode('|', $data); 47 // any data at all? 48 if ($user . $style . $data === '') { 49 throw new Exception('no data passed'); [all …]
|
| /dokuwiki/_test/tests/inc/search/ |
| H A D | search.test.php | 14 $data = array(); 17 search($data, dirname(__FILE__) . '/data', 'search_allpages', array('depth' => 0), 'ns1'); 18 $this->assertEquals(3, count($data)); 21 $data = array(); 22 … search($data, dirname(__FILE__) . '/data', 'search_allpages', array('depth' => 1), 'ns1/ns3'); 23 $this->assertEquals(0, count($data)); 26 $data = array(); 27 search($data, dirname(__FILE__) . '/data', 'search_allpages', array('depth' => 2), 'ns1'); 28 $this->assertEquals(2, count($data)); 32 $data = array(); [all …]
|
| /dokuwiki/lib/exe/ |
| H A D | fetch.php | 46 // prepare data for plugin events 47 $data = [ variable 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['statusmessage']); 84 if ($data['status'] > 203) { 85 echo $data['statusmessage']; [all …]
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | Manager.php | 16 /** @var array the data from the manager.dat */ 17 protected array $data = []; variable in dokuwiki\\plugin\\extension\\Manager 28 $this->data = $this->readFile(); 40 $this->data['downloadurl'] = $url; 41 if (isset($this->data['installed'])) { 43 $this->data['updated'] = date('r'); 46 $this->data['installed'] = date('r'); 49 $data = ''; 50 foreach ($this->data as $k => $v) { 51 $data .= $k . '=' . $v . DOKU_LF; [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
| H A D | DB.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 59 * Converts a given {@see SimplePie} object into data to be stored 61 * @param \SimplePie\SimplePie $data 62 …* @return array First item is the serialized data for storage, second item is the unique ID for th… 64 protected static function prepare_simplepie_object_for_cache($data) argument 66 $items = $data->get_items(); 81 if (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0])) { 82 … $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_10]['feed'][0]; 83 … } elseif (isset($data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0])) { 84 … $channel = &$data->data['child'][\SimplePie\SimplePie::NAMESPACE_ATOM_03]['feed'][0]; [all …]
|
| H A D | Memcached.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50 * Caches data to memcached 56 * prefixed with `sp_` and data will expire after 3600 seconds 88 …:TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 109 * Save data to the cache 110 …@param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, … 113 public function save($data) argument 115 if ($data instanceof \SimplePie\SimplePie) { 116 $data = $data->data; 119 return $this->setData(serialize($data)); [all …]
|
| H A D | Memcache.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50 * Caches data to memcache 56 * prefixed with `sp_` and data will expire after 3600 seconds 91 …:TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 112 * Save data to the cache 114 …@param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, … 117 public function save($data) argument 119 if ($data instanceof \SimplePie\SimplePie) { 120 $data = $data->data; 122 …return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options[… [all …]
|
| H A D | Redis.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50 * Caches data to redis 56 * prefixed with `simple_primary-` and data will expire after 3600 seconds 91 …:TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 128 * Save data to the cache 130 …@param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, … 133 public function save($data) argument 135 if ($data instanceof \SimplePie\SimplePie) { 136 $data = $data->data; 138 $response = $this->cache->set($this->name, serialize($data)); [all …]
|
| H A D | File.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48 * Caches data to the filesystem 90 …:TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data 101 * Save data to the cache 103 …@param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, … 106 public function save($data) argument 109 if ($data instanceof \SimplePie\SimplePie) { 110 $data = $data->data; 113 $data = serialize($data); 114 return (bool) file_put_contents($this->name, $data); [all …]
|
| /dokuwiki/.github/workflows/ |
| H A D | deletedFiles.yml | 2 # It compares the current master with the data/deleted.files file and cleans the file from any re-i… 3 # It compares the current master with the stable branch and adds all deleted files to the data/dele… 30 … grep -v "^$E$" data/deleted.files > data/deleted.files.tmp && mv data/deleted.files{.tmp,} 39 if grep -q "^$F$" data/deleted.files; then 42 if ( ! test -f "data/deleted.files.tmp"); then 43 … removed on/ && !found {print input; found=1} 1' data/deleted.files > data/deleted.files.tmp && cp… 45 … removed on/ && !found {print input; found=1} 1' data/deleted.files > data/deleted.files.tmp && cp… 47 if (test -f "data/deleted.files.tmp"); then 48 …removed on/ && !found {printf("\n"); found=1} 1' data/deleted.files > data/deleted.files.tmp && mv… 49 sed -i "s/^# newly removed/# removed on $(date -I)/" data/deleted.files
|
| /dokuwiki/inc/ |
| H A D | PrefCookie.php | 6 * The preference cookie is used to store small user preference data 10 * Data is stored as key#value#key#value string, with all keys and values being urlencoded 17 protected array $data = []; variable in dokuwiki\\PrefCookie 20 * Initialize the class from the cookie data 24 $this->data = $this->decodeData($_COOKIE[self::COOKIENAME] ?? ''); 36 return $this->data[$pref] ?? $default; 51 if (isset($this->data[$pref])) { 52 unset($this->data[$pref]); 55 $this->data[$pref] = $value; 70 ksort($this->data); // sort by key [all …]
|
| /dokuwiki/_test/tests/inc/ |
| H A D | httpclient_http.test.php | 18 $data = $http->get($this->server . '/get?foo=bar'); 22 $this->assertFalse($data === false, $http->errorInfo()); 23 $resp = json_decode($data, true); 35 $data = $http->dget($this->server . '/get', ['foo' => 'bar']); 39 $this->assertFalse($data === false, $http->errorInfo()); 40 $resp = json_decode($data, true); 52 $data = $http->get($this->server . '/gzip'); 56 $this->assertFalse($data === false, $http->errorInfo()); 57 $resp = json_decode($data, true); 69 $data = $http->post($this->server . '/post', ['foo' => 'bar']); [all …]
|
| /dokuwiki/inc/Feed/ |
| H A D | FeedItemProcessor.php | 9 * Accept more or less arbitrary data to represent data to later construct a feed item from. 10 * Provide lazy loading accessors to all the data we need for feed generation. 18 protected $data; variable in dokuwiki\\Feed\\FeedItemProcessor 24 * @param array $data Needs to have at least an 'id' key 26 public function __construct($data) argument 28 if (!isset($data['id'])) throw new RuntimeException('Missing ID'); 29 $this->id = cleanID($data['id']); 30 $this->data = $data; 56 if ($this->data['rev'] ?? 0) return $this->data['rev']; 58 if (isset($this->data['date'])) { [all …]
|
| H A D | FeedPageProcessor.php | 11 * Accept more or less arbitrary data to represent a page and provide lazy loading accessors 12 * to all the data we need for feed generation. 19 // region data processors 88 // region data accessors 97 if (!isset($this->data['abstract'])) { 100 $this->data['abstract'] = (string)$meta['description']['abstract']; 102 $this->data['abstract'] = ''; 105 return $this->data['abstract']; 115 $this->data['rev'] = filemtime(wikiFN($this->id)); 116 $this->data['exists'] = true; [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 98 // prepare event data 99 $data = []; 100 $data['id'] = $ID; 101 $data['mode'] = $mode; 102 $data['headers'] = $headers; [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | Source.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 60 public $data = []; variable in SimplePie\\Source 63 public function __construct($item, $data) argument 66 $this->data = $data; 76 return md5(serialize($this->data)); 81 if (isset($this->data['child'][$namespace][$tag])) { 82 return $this->data['child'][$namespace][$tag]; 93 public function sanitize($data, $type, $base = '') argument 95 return $this->item->sanitize($data, $type, $base); 106 …return $this->sanitize($return[0]['data'], $this->registry->call(Misc::class, 'atom_10_construct_t… [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
| H A D | Parser.php | 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 126 * Input data 130 protected $data = ''; variable in SimplePie\\HTTP\\Parser 133 * Input data length (to avoid calling strlen() everytime this is needed) 161 * Create an instance of the class with the input data 163 * @param string $data Input data 165 public function __construct($data) argument 167 $this->data = $data; 168 $this->data_length = strlen($this->data); 172 * Parse the input data [all …]
|
| /dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
| H A D | JSONCreator.php | 14 $data = array(); 16 $data['version'] = 'https://jsonfeed.org/version/1.1'; 17 $data['title'] = (string)$this->title; 18 $data['home_page_url'] = (string)$this->link; 19 $data['feed_url'] = (string)$this->syndicationURL; 20 $data['description'] = (string)$this->description; 21 $data['user_comment'] = 'Created by ' . FEEDCREATOR_VERSION; 23 $data['icon'] = $this->image->url; 26 $data['language'] = $this->language; 29 $data['items'] = array(); [all …]
|
| /dokuwiki/lib/plugins/popularity/lang/en/ |
| H A D | lang.php | 4 $lang['submit'] = 'Send Data'; 5 $lang['autosubmit'] = 'Automatically send data once a month'; 6 $lang['submissionFailed'] = 'The data couldn\'t be sent due to the following error:'; 7 $lang['submitDirectly'] = 'You can send the data manually by submitting the following form.'; 9 $lang['lastSent'] = 'The data has been sent';
|
| /dokuwiki/lib/plugins/popularity/lang/cy/ |
| H A D | lang.php | 4 $lang['submit'] = 'Anfon Data'; 5 $lang['autosubmit'] = 'Anfon data yn awtomatig unwaith y mis'; 6 $lang['submissionFailed'] = 'Doedd dim modd anfon y data oherwydd y gwall canlynol:'; 7 $lang['submitDirectly'] = 'Gallwch chi anfon y data gan law gan gyflwyno\'r ffurflen ganlynol.'; 9 $lang['lastSent'] = 'Anfonwyd y data';
|