Lines Matching refs:return

38  *   * we want to be able to return a {@link MarkupPath} in the {@link MarkupPath::getParent()} function
210 return self::createPageFromPathObject($wikiPath);
216 return new MarkupPath(WikiPath::createMarkupPathFromId($id));
221 * @return MarkupPath
226 return new MarkupPath($wikiPath);
231 * @return MarkupPath - the requested page
237 return MarkupPath::createPageFromPathObject($path);
244 return $path;
246 return new MarkupPath($path);
253 * @deprecated just pass a namespace path to the page creation and you will get the index page in return
259 return MarkupPath::createMarkupFromId($namespacePath);
266 return new MarkupPath($path);
280 return $this;
285 * @return bool true if this is a fragment markup
294 return false;
296 return in_array($name, $slotNames, true);
300 * @return bool true if this is the side slot
309 return false;
311 return $name === $slotNames;
315 * @return bool true if this is the main
325 return false;
328 return in_array($name, $slotNames, true);
337 * @return WikiPath
344 return $this->canonical->getValueFromStoreOrDefault();
352 * @return $this
359 return $this;
364 * @return MarkupPath[]|null the internal links or null
371 return null;
378 return null;
381 return null;
388 return $pages;
401 return FetcherMarkup::createXhtmlMarkupFetcherFromPath($path, $path->toWikiPath());
411 return $fetcher->processIfNeededAndGetFetchPath();
423 return $this->setQualityIndicatorAndDeleteCacheIfNeeded($this->canBeOfLowQuality, $value);
427 * @return MarkupPath[] the backlinks
444 return $backlinks;
450 * @return bool true if this is a low quality page
457 return false;
461 return false;
464 return $this->getLowQualityIndicatorCalculated();
467 // we return false
468 return false;
480 return $this->canBeOfLowQuality->getValueOrDefault();
492 return $this->title->getValueFromStore();
497 * @return null|bool
502 return $this->qualityMonitoringIndicator->getValueFromStore();
506 * @return string the title, or h1 if empty or the id if empty
514 return $this->title->getValueOrDefault();
517 return $this->getPathObject()->getLastNameWithoutExtension();
526 return $this->h1->getValueOrDefault();
531 * @return string
537 return $this->description->getValue();
542 * @return string - the description or the dokuwiki generated description
547 return $this->description->getValueOrDefault();
552 * @return string
560 return FileSystems::getContent($this->getPathObject());
563 return "";
574 $return = array_search($this->getPathObject()->getWikiId(), $pages, true);
575 return $return !== false;
583 * @return $this
595 return $this;
618 return $this;
623 * @return mixed
628 return $this->type->getValueFromStoreOrDefault();
639 return IFetcherLocalImage::createImageFetchFromPath(FirstRasterImage::createForPage($this)->getValue());
664 return null;
681 return $medias;
688 * @return string
695 return null;
698 return $store->getFromName('creator');
704 * @return string
712 return null;
715 return $store->getFromName('user');
723 * @return DateTime
729 return $this->creationTime->getValue();
735 * @return DateTime
740 return $this->modifiedTime->getValueFromStore();
749 return $this->modifiedTime->getValueFromStoreOrDefault();
764 return $this;
780 return $this;
785 * @return string|null
791 return $this->region->getValueFromStore();
798 return $this->region->getValueFromStoreOrDefault();
805 return $this->lang->getValueFromStore();
810 return $this->lang->getValueOrDefault();
816 * @return bool
824 return true;
838 return false;
846 return true;
853 return false;
863 return $this->publishedDate->getValueFromStore();
867 * @return bool
872 return FileSystems::exists($this);
876 * @return DateTime
882 return $this->publishedDate->getValueFromStoreOrDefault();
892 return false;
894 return $dateTime > new DateTime('now');
902 * @return Url
912 return UrlEndpoint::createBaseUrl()->toAbsoluteUrl();
916 return UrlEndpoint::createDokuUrl()
921 return UrlEndpoint::createBaseUrl();
931 * @return string|null - the locale facebook way
940 return $default;
942 return $value;
954 return $fetcherMarkup->getFetchString();
965 return LinkMarkup::createFromPageIdOrPath($id)
972 return "<a href=\"{$this->getCanonicalUrl()}\" data-wiki-id=\"$id\">{$this->getNameOrDefault()}</a>";
979 * @return string
987 return $this->getParent()->toAbsoluteId();
993 * @return $this
1001 return $this;
1011 return $this->pageName->getValue();
1019 return ResourceName::createForResource($this)->getValueOrDefault();
1039 * @return array - return the standard / generated metadata
1091 * otherwise a template link such as [[$path|$title]] will return a link without an description
1108 return $array;
1116 return $this->getPublishedTime() !== null ? $this->getPublishedTime()->format(Iso8601Date::getFormat()) : null;
1126 return $this->endDate->getValue();
1137 return $this->startDate->getValue();
1142 * @return string
1148 return PageId::createForPage($this)->getValue();
1158 return renderer_plugin_combo_analytics::createAnalyticsFetcherForPageFragment($this);
1169 return $fetcher->processIfNeededAndGetFetchPath();
1179 return DatabasePageRow::getFromPageObject($this);
1190 return DatabasePageRow::getOrCreateFromPageObject($this);
1197 return Identity::isWriter($this->getWikiId());
1206 return $this->getPathObject()->toAbsoluteId() === ":$startPageName";
1217 return $this->type->getValueFromStore();
1227 return $this->canonical->getValue();
1233 * @return string|null
1239 return $this->canonical->getDefaultValue();
1248 return $this->layout->getValueFromStore();
1257 return $this->pageName->getDefaultValue();
1263 return $this->title->getDefaultValue();
1272 return $this->h1->getValueOrDefault();
1278 return $this->type->getDefaultValue();
1284 return $this->layout->getDefaultValue();
1295 return $this->setQualityIndicatorAndDeleteCacheIfNeeded($this->lowQualityIndicatorCalculated, $bool);
1305 * @return MarkupPath
1321 return $this;
1332 return $this->lowQualityIndicatorCalculated->getValueOrDefault();
1337 * @return PageImage[]
1343 return $this->pageImages->getValueAsPageImages();
1349 * @return $this
1359 return $this;
1371 return $this;
1378 * @return Alias
1385 return $this->aliases->addAndGetAlias($aliasPath, $aliasType);
1391 * @return Alias[]
1397 return $this->aliases->getValueAsAlias();
1401 * @return string
1407 return $this->getSlug();
1409 return $this->getDefaultSlug();
1416 * @return string
1422 return $this->slug->getDefaultValue();
1429 * Only the root home does not have any parent page and return null.
1431 * @return MarkupPath
1465 return self::getIndexPageFromNamespace($parentNamespaceId);
1484 return $this;
1497 return $this;
1510 return $this;
1522 return $this;
1537 return $this;
1550 return $this;
1562 return $this;
1574 return $this;
1587 return $this;
1599 return $this;
1667 return PageId::getAbbreviated($this->getPageId());
1675 return $this;
1680 * @return string|null
1687 return $this->slug->getValue();
1700 return $this;
1705 * @return string - the id in the Url
1709 return $this->pageUrlPath->getValueOrDefaultAsWikiId();
1722 return $this;
1738 if ($this->buildAliasPath === null) return null;
1743 return null;
1747 return $alias;
1750 return null;
1757 return $this->getQualityMonitoringIndicator();
1759 return $this->getDefaultQualityMonitoring();
1766 return false;
1768 return true;
1774 * @return $this
1780 return $this;
1786 * @return IFetcherLocalImage[]
1810 return $images;
1821 return $this->keywords->getValue();
1829 return $this->keywords->getValueOrDefaults();
1842 return $this;
1846 * @return DateTime|null
1853 return $this->cacheExpirationDate->getValue();
1857 * @return DateTime|null
1864 return $this->cacheExpirationDate->getDefaultValue();
1868 * @return string|null
1875 return $this->cacheExpirationFrequency->getValue();
1881 * @return $this
1888 return $this;
1909 return FetcherMarkup::confRoot()
1927 * @return Url -the absolute canonical url
1932 return $this->getCanonicalUrl()->toAbsoluteUrl();
1945 return MetadataDokuWikiStore::getOrCreateFromResource($this);
1950 return $this->readStore;
1954 * @return Path
1959 return $this->path;
1972 return WikiPath::createFromPathObject($path)->getWikiId();
1978 return PageId::createForPage($this);
1985 return WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT . $this->getWikiId();
1990 * @return string
1994 return self::TYPE;
1998 * @return PageUrlPath
2004 return $this->pageUrlPath;
2016 return null;
2021 return null;
2023 return MarkupPath::createMarkupFromId($nearestMainFooter);
2030 * @return false|string
2038 return page_findnearest($pageName);
2048 * @return MarkupPath[]
2058 return $secondarySlots;
2064 return isHiddenPage($this->getWikiId());
2072 return null;
2074 return MarkupPath::createMarkupFromId($nearest);
2079 return FetcherPage::createPageFetcherFromMarkupPath($this);
2084 return HttpRequest::fetchXhtmlPageResponse($this->getWikiId());
2088 * @return Outline
2094 return $this->getInstructionsDocument()->getOutline();
2102 return $this;
2109 return $instructionsDocument->getInstructionsPath();
2116 return $this;
2138 return FetcherMarkup::confRoot()
2150 return false;
2154 return true;
2156 return false;
2158 return false;
2167 return null;
2169 return MarkupPath::createMarkupFromId($nearest);
2174 * @return void
2182 return;
2191 * We don't return a page because it does not work in a constructor
2198 return;
2207 return;
2231 return $this->uidObject;
2236 return $this->path->getExtension();
2241 return $this->path->getLastNameWithoutExtension();
2246 return MarkupFileSystem::SCHEME;
2251 return $this->path->getLastName();
2256 return $this->path->getNames();
2261 return $this->path->toAbsoluteId();
2266 return $this->path->toUriString();
2271 return $this->path->toAbsolutePath();
2277 return $this->path->resolve($name);
2283 return FetcherPage::createPageFetcherFromMarkupPath($this)
2289 return $this->path->getHost();
2295 return $this->path->__toString();
2306 return new MarkupPath($path);