Lines Matching refs:this

18             $this->debug = new siteexport_debug();
19 $this->debug->isAJAX = $isAJAX;
21 $this->settings = new settings_plugin_siteexport_settings($this);
22 $this->debug->message("Settings completed: zipFile", $this->settings->zipFile, 1);
33 $params = array('cache' => 'nocache', 'siteexport' => $this->settings->pattern);
35 if ($this->debug->debugLevel() < 5) {
37 $params['debug'] = $this->debug->debugLevel();
40 return ml($this->settings->origZipFile, $params, true, '&');
48 $this->debug->message("'{$file}' does not exist. Checking original ZipFile", null, 3);
49 … $newCacheFile = mediaFN($this->getSpecialExportFileName($this->settings->origZipFile, $pattern));
53 …$this->debug->message("The export must have gone wrong. The cached file does not exist.", array("p…
57 …$this->debug->message("had to move another original file over. Did it work? " . ($status ? 'Yes, i…
59 $this->debug->message("The file does exist!", $file, 2);
98 …$url = $this->wl($this->cleanID($ID), null, true, null, null, $overrideRewrite); // this must be d…
104 return $this->shortenName($uri['path'] . '.' . $this->settings->fileType);
119 return $this->xmlEntities($heading);
123 return ucwords($this->xmlEntities(array_pop($elements)));
138 $NS = $this->settings->exportNamespace;
144 $this->debug->message("Shortening file to '$NAME'", null, 1);
224 $this->debug->message("Starting to build WL-URL for '$id'", $more, 1);
271 $this->debug->message("'$xlink'", array(DOKU_REL, DOKU_URL, DOKU_BASE, $xlink), 2);
274 $this->debug->message("Override enabled.", null, 1);
295 $this->debug->message("internal WL function result: '$xlink'", null, 2);
309 $FILE = $this->settings->origZipFile;
312 if (empty($PATTERN) && empty($this->settings->pattern)) {
313 …$this->debug->message("Generating an internal md5 pattern. This will go wrong - and won't cache pr…
318 if (empty($this->settings->pattern)) {
319 $this->settings['pattern'] = $PATTERN;
321 $PATTERN = $this->settings->pattern;
331 $this->debug->message("Export Filename for '$FILE' will be: '$fileName'", null, 2);
338 $PATTERN = $this->settings->pattern;
341 …return getCacheName($this->getSpecialExportFileName($this->settings->origZipFile, $PATTERN), '.' .…
354 $additionalParameters['pattern'] = $this->settings->pattern;
362 $this->addAdditionalParametersToURL($URL, $additionalParameters);
363 $this->debug->message("Redirecting to '$URL'", null, 2);
401 $this->removeWikiVariables($data);
407 $this->debug->message("Prepared POST data:", $data, 1);
412 $this->debug->message("Found inner Array:", $value, 1);
496 $removeArray = $this->parseStringToRequestArray($removeArray);
616 $params = $this->urlToPathAndParams($this->prepare_POSTData($request));
617 $this->debug->message("Calculated the following Cache Hash URL: ", $params, 2);
618 return $this->hashNameForParameters($params);
631 $this->debug->message("The baseURL was not absolute.", $baseURL, 1);
640 $this->debug->message("The replaceURL was already absolute.", $replaceURL, 1);
650 $this->debug->message("State before kicking.", array($replaceParts, $baseParts), 1);
668 …$this->debug->message("Found URL '{$replaceURL}' that is relative to current page '{$baseURL}'.", …
683 $offsiteTemplate = $this->getConf("offSiteLinkTemplate");
684 $this->debug->message("Checking for offsite links", array(
700 $mapID = $this->getMapID($existingPageID, null, $check);
704 …$this->debug->message("Replacing finalLink '${finalLink}' with offsiteLink '${offsiteTemplate}'", …
722 $title = empty($meta['title']) ? $this->getSiteTitle($elemID) : $meta['title'];
723 $meta['id'] = sectionID($this->cleanId($title), $check);
727 array_walk($mapID, array($this, 'mapIDWithAnchor'), $postfix);
733 $user = $this->getConf('defaultAuthenticationUser');
734 $password = $this->getConf('defaultAuthenticationPassword');
742 if (!isset($_SERVER['HTTP_AUTHORIZATION']) && $this->hasAuthentication()) {
743 $authentication = $this->hasAuthentication();
745 …$this->debug->message("Re-authenticating with default user from configuration", $authentication['u…
761 $secToken = $this->getSecurityToken();