Lines Matching defs:data

36         if (is_array($event->data))
37 list($this->preact) = array_keys($event->data);
39 $this->preact = $event->data;
52 if ($this->preact != 'save' || $event->data != 'show')
61 $data = array (
71 $data = unserialize(io_readFile($file, false));
73 $data['send'] = (bool)$_REQUEST['plugin__linkback_toggle'];
75 if (!$data['send'])
95 if (!$data['sentpings'][$page]) {
101 $data['sentpings'] = $sentpings;
104 io_saveFile($file, serialize($data));
150 $data = array (
160 $data = unserialize(io_readFile($file, false));
164 $data['send'] = true;
172 $data['send'] = true;
175 $data['send'] = true;
183 $form = $event->data;
196 if($data['send']) {
205 $form->insertElement($pos + 1, form_makeCheckboxField('plugin__linkback_toggle', '1', $this->getLang('linkback_enabledisable'), 'plugin__linkback_toggle', 'edit', (($data['send']) ? array('checked' => 'checked') : array())));
221 $data = $http_client->get($page, true);
222 if (!$data)
227 if ($this->_ping_page_linkback(trim($type), $page, $http_client->resp_headers, $data, $linkback_info))
270 * Sends a Pingback to the given url, using the supplied data.
282 * Sends a Trackback to the given url, using the supplied data.
298 * @param string $data the body received from the pinged page.
301 function _autodiscover_pingback(array $headers, string $data) {
306 if (!preg_match($regex, $data, $match)) {
316 * @param string $data the body received from the page to be pinged.
318 function _autodiscover_trackback($page, $data) {
322 if (preg_match_all($regex, $data, $matches)) {
336 if (preg_match($regex, $data, $match))