Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 152) sorted by relevance

1234567

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Cache/
H A DDB.php81 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->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0]))
87 $channel =& $data->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0];
89 elseif (isset($data->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0]))
91 $channel =& $data->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0];
125 if (isset($data->data['items']))
127 unset($data->data['items']);
129 if (isset($data->data['ordered_items']))
131 unset($data->data['ordered_items']);
[all …]
H A DMemcached.php106 public function save($data) { argument
107 if ($data instanceof SimplePie) {
108 $data = $data->data;
119 $data = $this->cache->get($this->name);
121 if ($data !== false) {
122 return unserialize($data);
133 return (int) $data;
141 $data = $this->cache->get($this->name);
142 return $this->setData($data);
157 private function setData($data) { argument
[all …]
H A DMemcache.php111 public function save($data) argument
113 if ($data instanceof SimplePie)
115 $data = $data->data;
127 $data = $this->cache->get($this->name);
129 if ($data !== false)
131 return unserialize($data);
143 $data = $this->cache->get($this->name);
145 if ($data !== false)
161 $data = $this->cache->get($this->name);
163 if ($data !== false)
[all …]
H A DRedis.php54 protected $data; variable in SimplePie_Cache_Redis
101 public function save($data) { argument
102 if ($data instanceof SimplePie) {
103 $data = $data->data;
119 $data = $this->cache->get($this->name);
121 if ($data !== false) {
122 return unserialize($data);
134 $data = $this->cache->get($this->name);
136 if ($data !== false) {
150 $data = $this->cache->get($this->name);
[all …]
H A DFile.php99 …* @param array|SimplePie $data Data to store in the cache. If passed a SimplePie object, only cach…
102 public function save($data) argument
106 if ($data instanceof SimplePie)
108 $data = $data->data;
111 $data = serialize($data);
112 return (bool) file_put_contents($this->name, $data);
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php63 public function sendData($data) argument
94 $data = $this->gather();
116 $data = array();
126 $data['now'] = time();
225 $data['os'] = PHP_OS;
236 return $data;
274 if ($data['dir_nest'] < $lvl) $data['dir_nest'] = $lvl;
275 $data['dir_count']++;
285 if (!isset($data['file_min']) || $data['file_min'] > $size) $data['file_min'] = $size;
286 if ($data['file_max'] < $size) $data['file_max'] = $size;
[all …]
/dokuwiki/lib/exe/
H A Dfetch.php45 $data = array( variable
73 if($data['status'] > 300 && $data['status'] <= 304) {
79 http_status($data['status'], $data['statusmessage']);
96 $data['file'] = $FILE = media_crop_image($data['file'], $EXT, $WIDTH, $HEIGHT);
109 $data['file'],
110 $data['mime'],
111 $data['download'],
112 $data['cache'],
113 $data['ispublic'],
114 $data['orig'],
[all …]
/dokuwiki/inc/Subscriptions/
H A DSubscriberRegexBuilder.php15 * @param string|array $data
22 public function buildRegex($user = null, $style = null, $data = null) argument
27 $data = (array)$data;
32 $data = array_filter(array_map('trim', $data));
40 $data = array_map('preg_quote_cb', $data);
45 $data = join('|', $data);
48 if ($user . $style . $data === '') {
62 if ($data === '') {
63 $data = '\S+';
68 return "/^($user)(?:\\s+($style))$sopt(?:\\s+($data))$dopt$/";
H A DSubscriberManager.php34 * @param string $data
49 $data = trim($data);
57 if (!$data) {
58 $data = time();
61 $line = "$user $style $data\n";
77 * @param string|array $data
160 * @param string|array $data
226 public function notifyAddresses(&$data) argument
238 $id = $data['id'];
239 $self = $data['self'];
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/HTTP/
H A DParser.php100 protected $data = ''; variable in SimplePie_HTTP_Parser
133 * @param string $data Input data
135 public function __construct($data) argument
137 $this->data = $data;
153 $this->data = '';
188 … && ($this->data[$this->position + 1] === "\x09" || $this->data[$this->position + 1] === "\x20")));
196 if (strpos($this->data, "\x0A") !== false && strtoupper(substr($this->data, 0, 5)) === 'HTTP/')
509 $data = array_pop($data);
511 $data = str_ireplace("HTTP/1.0 200 Connection established\r\n\r\n", '', $data);
514 $data = str_ireplace("HTTP/1.1 200 Connection established\r\n\r\n", '', $data);
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php61 var $data = ''; variable in SimplePie_Decode_HTML_Entities
83 * @param string $data Input data
85 public function __construct($data) argument
87 $this->data = $data;
104 return $this->data;
115 if (isset($this->data[$this->position]))
118 return $this->data[$this->position++];
135 $data = substr($this->data, $this->position, $len);
136 $this->consumed .= $data;
138 return $data;
[all …]
/dokuwiki/inc/Extension/
H A DAdminPlugin.php82 $data = [];
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.php61 $data = array();
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;
H A DEvent.php16 public $data = null; variable in dokuwiki\\Extension\\Event
35 * @param mixed $data
37 public function __construct($name, &$data) argument
41 $this->data =& $data;
133 $this->result = call_user_func_array($action, [&$this->data]);
188 * @param mixed $data event data
196 … static public function createAndTrigger($name, &$data, $action = null, $canPreventDefault = true) argument
198 $evt = new Event($name, $data);
/dokuwiki/lib/scripts/
H A Dcookie.js13 data: {}, property in DokuCookie
26 delete this.data[key];
29 this.data[key] = val;
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[decodeURIComponent(parts[i])] = decodeURIComponent(parts[i+1]);
/dokuwiki/inc/Action/
H A DExport.php94 $data = array();
95 $data['id'] = $ID;
96 $data['mode'] = $mode;
97 $data['headers'] = $headers;
98 $data['output'] =& $output;
100 Event::createAndTrigger('ACTION_EXPORT_POSTPROCESS', $data);
102 if(!empty($data['output'])) {
103 if(is_array($data['headers'])) foreach($data['headers'] as $key => $val) {
106 print $pre . $data['output'] . $post;
/dokuwiki/inc/
H A DAjax.php55 if(!count($data)) return;
97 $data = array_keys($data);
100 $data = array_slice($data, 0, 15);
101 $data = array_map('trim', $data);
102 $data = array_map('noNS', $data);
103 $data = array_unique($data);
104 Sort::sort($data);
190 $data = array();
324 $data = array();
352 $data = array();
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/XML/Declaration/
H A DParser.php91 var $data = ''; variable in SimplePie_XML_Declaration_Parser
113 * @param string $data Input data
115 public function __construct($data) argument
117 $this->data = $data;
118 $this->data_length = strlen($this->data);
134 $this->data = '';
174 $quote = substr($this->data, $this->position, 1);
178 $len = strcspn($this->data, $quote, $this->position);
217 if (substr($this->data, $this->position, 1) === '=')
265 if (substr($this->data, $this->position, 1) === '=')
[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) argument
50 return new \IXR_Date($data);
54 * @param string $data
57 public function toFile($data) argument
59 return new \IXR_Base64($data);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DParser.php66 var $data = array(); variable in SimplePie_Parser
107 $data = substr($data, 4);
112 $data = substr($data, 4);
117 $data = substr($data, 2);
122 $data = substr($data, 2);
127 $data = substr($data, 3);
135 $data = substr($data, $pos + 2);
182 $xml->xml($data);
274 return $this->data;
421 if (isset($data['type']) && in_array('h-card', $data['type'])) {
[all …]
H A DItem.php71 var $data = array(); variable in SimplePie_Item
88 * @param array $data Raw data
93 $this->data = $data;
297 return $this->data['title'];
786 $this->data['date']['parsed'] = $parser->parse($this->data['date']['raw']);
793 if ($this->data['date'])
835 $this->data['updated']['parsed'] = $parser->parse($this->data['updated']['raw']);
1037 $this->data['links'][substr($key, 41)] =& $this->data['links'][$key];
1039 $this->data['links'][$key] = array_unique($this->data['links'][$key]);
1608 if (isset($restriction['data']) && strtolower($restriction['data']) === 'yes')
[all …]
H A DMisc.php319 $data = substr($data, 0, strcspn($data, $non_ascii_octects));
388 return @iconv($input, $output, $data);
392 * @param string $data
1753 public static function strip_comments($data) argument
1758 $output .= substr($data, 0, $start);
1761 $data = substr_replace($data, '', 0, $end + 3);
1765 $data = '';
1768 return $output . $data;
1781 * @param string $data Input data
2039 * @param string $data XML data
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSCP.php135 * @param string $data
168 $size = strlen($data);
170 if (!is_file($data)) {
175 $fp = @fopen($data, 'rb');
179 $size = filesize($data);
251 $size+= strlen($data);
254 $content.= $data;
256 fputs($fp, $data);
273 * @param string $data
276 function _send($data) argument
[all …]
/dokuwiki/inc/Ui/
H A DEditor.php74 $data = array(
82 if ($data['target'] !== 'section') {
87 $this->addTextarea($data);
90 $form->setHiddenField('target', $data['target']);
157 if (isset($data['intro_locale'])) {
158 echo p_locale_xhtml($data['intro_locale']);
165 if ($wr && $data['media_manager']) {
190 * @param mixed[] $data
192 public function addTextarea(&$data) argument
196 if ($data['target'] !== 'section') {
[all …]
/dokuwiki/inc/Menu/
H A DAbstractMenu.php42 $data = array(
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) { argument
63 $data['items'][] = $item;

1234567