Home
last modified time | relevance | path

Searched refs:data (Results 26 – 50 of 161) sorted by relevance

1234567

/dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/
H A DParser.php113 * Input data
118 public $data = ''; variable in SimplePie\\XML\\Declaration\\Parser
121 * Input data length (to avoid calling strlen() everytime this is needed)
137 * Create an instance of the class with the input data
140 * @param string $data Input data
142 public function __construct($data) argument
144 $this->data = $data;
145 $this->data_length = strlen($this->data);
[all...]
/dokuwiki/inc/Extension/
H A DEvent.php16 /** @var mixed|null READWRITE data relevant to the event, no standardised format, refer to event docs */ variable in dokuwiki\\Extension\\Event
17 public $data;
36 * @param mixed $data
38 public function __construct($name, &$data)
42 $this->data =& $data;
59 * $evt = new dokuwiki\Plugin\Doku_Event(name, data);
108 * - carry out the default action using $this->data based on $enablePrevent and
134 $this->result = call_user_func_array($action, [&$this->data]);
189 * @param mixed $data even
37 __construct($name, & $data) global() argument
196 createAndTrigger($name, & $data, $action = null, $canPreventDefault = true) global() argument
[all...]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php44 $data = ['view' => $this->view, 'items' => []];
45 Event::createAndTrigger('MENU_ITEMS_ASSEMBLY', $data, [$this, 'loadItems']);
46 return $data['items'];
52 * @param array $data The plugin data
55 public function loadItems(&$data)
63 $data['items'][] = $item;
56 loadItems(& $data) global() argument
/dokuwiki/inc/Ui/
H A DEditor.php18 * preprocess edit form data
74 // prepare data for EDIT_FORM_ALTERNATE event
75 $data = [
83 if ($data['target'] !== 'section') {
84 // Only emit event if page is writable, section edit data is valid and
86 Event::createAndTrigger('EDIT_FORM_ADDTEXTAREA', $data, [$this, 'addTextarea'], true);
88 $this->addTextarea($data);
91 $form->setHiddenField('target', $data['target']);
157 if (isset($data['intro_locale'])) {
158 echo p_locale_xhtml($data['intro_local
193 addTextarea(& $data) global() argument
[all...]
/dokuwiki/inc/HTTP/
H A DDokuHTTPClient.php58 * @param string|array $data the post data either as array or raw data
62 public function sendRequest($url, $data = '', $method = 'GET') argument
66 'data' => $data,
72 $data = $httpdata['data'];
77 return parent::sendRequest($url, $data, $method);
/dokuwiki/lib/plugins/styling/
H A Daction.php44 $len = count($event->data['link']);
47 $event->data['link'][$i]['rel'] == 'stylesheet' &&
48 strpos($event->data['link'][$i]['href'], 'lib/exe/css.php') !== false
50 $event->data['link'][$i]['href'] .= '&preview=1&tseed=' . time();
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php124 $return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = Misc::entities_decode(end($attribs[$j]));
137 $full .= " $key=\"" . htmlspecialchars($value['data'], ENT_COMPAT, 'UTF-8') . '"';
278 * @param string $data Raw data in $input encoding
279 * @param string $input Encoding of $data
283 public static function change_encoding($data, $input, $output) argument
296 $data = substr($data, 0, strcspn($data, $non_ascii_octects));
301 return Misc::windows_1252_to_utf8($data);
320 change_encoding_mbstring($data, $input, $output) global() argument
352 change_encoding_iconv($data, $input, $output) global() argument
363 change_encoding_uconverter($data, $input, $output) global() argument
1711 strip_comments($data) global() argument
1738 entities_decode($data) global() argument
1961 xml_encoding($data, $registry) global() argument
[all...]
H A DSimplePie.php415 * @var array Raw data
418 public $data = []; variable in SimplePie\\SimplePie
469 * @var string Raw feed data
498 * @var bool Force the given data/URL to be treated as a feed no matter what
678 * The SimplePie class contains feed level data and options
729 return md5(serialize($this->data));
738 if (!empty($this->data['items'])) {
739 foreach ($this->data['items'] as $item) {
742 unset($item, $this->data['items']);
744 if (!empty($this->data['ordered_item
825 set_raw_data($data) global() argument
2304 sanitize($data, $type, $base = '') global() argument
[all...]
/dokuwiki/inc/
H A DJpegMeta.php900 $data = null;
913 $data =& $this->_info['exif']['JFIFThumbnail'];
918 if (($which == 'adobe') || ($data == null)){
929 $data =& $this->_info['adobe']['ThumbnailData'];
934 if ($data != null) {
936 echo $data;
1033 return false; // ERROR: Extraneous data
1041 return false; // ERROR: Extraneous data
1050 case 0xE0: // APP0: JFIF data
1051 case 0xE1: // APP1: EXIF or XMP data
1270 _writeJPEGMarker($marker, $length, & $data, $origLength) global() argument
1742 _readIFD($data, $base, $offset, $isBigEndian, $mode) global() argument
2008 _writeIFD(& $data, $pos, $offsetBase, & $entries, $isBigEndian, $hasNext) global() argument
2514 _readIPTC(& $data, $pos = 0) global() argument
2604 _write8BIM(& $data, $pos, $type, $header, & $value) global() argument
2672 _writeIPTCEntry(& $data, $pos, $type, & $value) global() argument
3039 _getByte(& $data, $pos) global() argument
3057 _putByte(& $data, $pos, $val) global() argument
3066 _getShort(& $data, $pos, $bigEndian = true) global() argument
3081 _putShort(& $data, $pos = 0, $val = 0, $bigEndian = true) global() argument
3105 _getLong(& $data, $pos, $bigEndian = true) global() argument
3134 _putLong(& $data, $pos, $val, $bigEndian = true) global() argument
3153 _getNullString(& $data, $pos) global() argument
3173 _getFixedString(& $data, $pos, $length = 1) global() argument
3189 _putString(& $data, $pos, & $str) global() argument
3199 _hexDump(& $data, $start = 0, $length = 1) global() argument
[all...]
H A Dsearch.php20 * @param array &$data The results of the search are stored here
30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural')
65 if (call_user_func_array($func, [&$data, $base, $dir, 'd', $lvl, $opts])) {
66 search($data, $base, $func, $opts, $dir, $lvl + 1, $sort);
71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]);
82 * array &$data - Reference to the result data structure
103 * @param array $data
112 function search_qsearch(&$data, $base, $file, $type, $lvl, $opts)
119 return search_universal($data,
27 search(& $data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') global() argument
108 search_qsearch(& $data, $base, $file, $type, $lvl, $opts) global() argument
133 search_index(& $data, $base, $file, $type, $lvl, $opts) global() argument
162 search_namespaces(& $data, $base, $file, $type, $lvl, $opts) global() argument
188 search_media(& $data, $base, $file, $type, $lvl, $opts) global() argument
255 search_mediafiles(& $data, $base, $file, $type, $lvl, $opts) global() argument
302 search_list(& $data, $base, $file, $type, $lvl, $opts) global() argument
333 search_pagename(& $data, $base, $file, $type, $lvl, $opts) global() argument
371 search_allpages(& $data, $base, $file, $type, $lvl, $opts) global() argument
487 search_universal(& $data, $base, $file, $type, $lvl, $opts) global() argument
[all...]
H A DLogger.php118 * @triggers LOGGER_DATA_FORMAT can be used to change the logged data or intercept it
127 $data = [
139 $event = new Event('LOGGER_DATA_FORMAT', $data);
141 $data['loglines'] = $this->formatLogLines($data);
147 $data['loglines'] = $this->formatLogLines($data);
150 // only log when any data available
151 if (count($data['loglines'])) {
152 return $this->writeLogLines($data['logline
165 formatLogLines($data) global() argument
[all...]
H A Dio.php18 * Event data:
19 * $data[0] ns: The colon separated namespace path minus the trailing page name.
20 * $data[1] ns_type: 'pages' or 'media' namespace tree.
44 $data = [$id, $ns_type];
46 Event::createAndTrigger('IO_NAMESPACE_DELETED', $data);
62 * Event data:
63 * $data[0] The raw arguments for io_readFile as an array.
64 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
65 * $data[2] page_name: The wiki page name.
66 * $data[
84 _io_readWikiPage_action($data) global() argument
203 _io_writeWikiPage_action($data) global() argument
[all...]
H A Ddeprecated.php332 * @param mixed $data event data
341 function trigger_event($name, &$data, $action=null, $canPreventDefault=true) {
343 return \dokuwiki\Extension\Event::createAndTrigger($name, $data, $action, $canPreventDefault);
395 * @param string|array $data
400 public function subscribers($page, $user = null, $style = null, $data = null) {
403 return $manager->subscribers($page, $user, $style, $data);
416 * @param string $data
422 public function add($id, $user, $style, $data = '') {
425 return $manager->add($id, $user, $style, $data);
339 trigger_event($name, & $data, $action = null, $canPreventDefault = true) global() argument
398 subscribers($page, $user = null, $style = null, $data = null) global() argument
420 add($id, $user, $style, $data = '') global() argument
441 remove($id, $user = null, $style = null, $data = null) global() argument
560 notifyaddresses(& $data) global() argument
611 __construct($callbacks = false, $data = false, $wait = false) global() argument
701 __construct($data) global() argument
716 __construct($data, $type = null) global() argument
[all...]
/dokuwiki/lib/plugins/acl/
H A Daction.php39 if ($event->data !== 'plugin_acl') {
76 $data = $acl->makeTree($ns, $ns);
78 foreach (array_keys($data) as $item) {
79 $data[$item]['level'] = $lvl + 1;
82 $data,
/dokuwiki/lib/plugins/extension/helper/
H A Drepository.php26 * Initialize the repository (cache), fetches data for all installed plugins
52 $data = $httpclient->post(self::EXTENSION_REPOSITORY_API, $request_data);
53 if ($data !== false) {
55 $extensions = json_decode($data, true, 512, JSON_THROW_ON_ERROR);
85 $data = $httpclient->get(self::EXTENSION_REPOSITORY_API . '?cmd=ping');
86 if ($data === false) {
89 } elseif ($data !== '1') {
105 * Get the remote data of an individual plugin or template
107 * @param string $name The plugin name to get the data for, template names need to be prefix by 'template:'
108 * @return array The data o
[all...]
/dokuwiki/inc/Debug/
H A DDebugHelper.php159 $data = [
167 $event = new Event(self::INFO_DEPRECATION_LOG_EVENT, $data);
169 $msg = $event->data['called'] . ' is deprecated. It was called from ';
170 $msg .= $event->data['caller'] . ' in ' . $event->data['file'] . ':' . $event->data['line'];
171 if ($event->data['alternative']) {
172 $msg .= ' ' . $event->data['alternative'] . ' should be used instead!';
/dokuwiki/vendor/simplepie/simplepie/src/Cache/
H A DPsr16.php52 * Caches data into a PSR-16 cache implementation
95 $data = $this->cache->get($key, $default);
97 if (! is_array($data) || $data === $default) {
101 return $data;
105 * Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
H A DMySQL.php49 * Caches data to a MySQL database
89 * @param Base::TYPE_FEED|Base::TYPE_IMAGE $type Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
130 $query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'cache_data` (`id` TEXT CHARACTER SET utf8 NOT NULL, `items` SMALLINT NOT NULL DEFAULT 0, `data` BLOB NOT NULL, `mtime` INT UNSIGNED NOT NULL, UNIQUE (`id`(125)))');
139 $query = $this->mysql->exec('CREATE TABLE `' . $this->options['extras']['prefix'] . 'items` (`feed_id` TEXT CHARACTER SET utf8 NOT NULL, `id` TEXT CHARACTER SET utf8 NOT NULL, `data` MEDIUMBLOB NOT NULL, `posted` INT UNSIGNED NOT NULL, INDEX `feed_id` (`feed_id`(125)))');
149 * Save data to the cache
151 * @param array|\SimplePie\SimplePie $data Data to store in the cache. If passed a SimplePie object, only cache the $data property
154 public function save($data) argument
170 if ($data instanceo
[all...]
/dokuwiki/lib/scripts/
H A Dlocktimer.js66 * @param {function} callback the only param is the data returned by the server
122 ).done(function dwLocktimerRefreshDoneHandler(data) { argument
125 callback(data);
135 refreshed: function(data){ argument
136 if (data.errors.length) {
137 data.errors.forEach(function(error) {
144 jQuery('#draft__status').html(data.draft);
145 if(data.lock !== '1') {
H A Dtree.js39 dw_tree = e.data;
59 show_sublist = function (data) { argument
61 if (typeof data !== 'undefined') {
62 $sublist.html(data);
86 dw_tree.load_data(function (data) { argument
88 show_sublist(data);
/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php293 * @param string|FileInfo $fileinfo either the name to us in archive (string) or a FileInfo oject with all meta data, empty to take from original
301 * @param string|FileInfo $fileinfo either the name to use in archive (string) or a FileInfo oject with all meta data, empty to take from original
336 // prepare info, compress and write data to archive
381 // we store no data descriptor
400 * Add a file to the current Zip archive using the given $data as content
402 * @param string|FileInfo $fileinfo either the name to us in archive (string) or a FileInfo oject with all meta data
403 * @param string $data binary content of the file to add
406 public function addData($fileinfo, $data) argument
416 // prepare info and compress data
417 $size = strlen($data);
790 writebytes($data) global() argument
812 writebytesAt($data, $offset) global() argument
[all...]
/dokuwiki/inc/Remote/
H A DApi.php356 toFile($data) global() argument
367 toDate($data) global() argument
378 dummyTransformation($data) global() argument
/dokuwiki/lib/plugins/extension/
H A Dscript.js71 function (data) { argument
76 .text(data.label)
77 .addClass(data.reverse)
81 .addClass(data.state);
108 ext: $link.data('extid'),
111 function(data){ argument
112 $link.parent().append(data);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php
/dokuwiki/lib/plugins/popularity/
H A Dadmin.php59 //Send the data
60 if ($INPUT->has('data')) {
61 $this->sentStatus = $this->helper->sendData($INPUT->str('data'));
63 //Update the last time we sent the data
91 if (! $INPUT->has('data')) {
102 //Print the last time the data was sent
108 //If we successfully send the data
111 //If we failed to submit the data, try directly with the browser
114 echo $this->buildForm('browser', $INPUT->str('data'));
120 * Build the form which presents the data t
129 buildForm($submissionMode, $data = null) global() argument
[all...]

1234567