Lines Matching refs:rev

77     const REV_ATTRIBUTE = "rev";
102 private $rev;
121 * @param string|null $rev - the revision (mtime)
132 protected function __construct(string $path, string $drive, string $rev = null)
245 $this->rev = $rev;
257 * @param string|null $rev - the revision (ie timestamp in number format)
261 public static function createMarkupPathFromPath(string $parameterPath, string $rev = null): WikiPath
274 return new WikiPath($parameterPath, self::MARKUP_DRIVE, $rev);
323 $defaultWikiPath = new WikiPath($defaultPath, self::MARKUP_DRIVE, $rev);
336 $markupWikiPath = new WikiPath($parameterPath . '.' . $markupExtension, self::MARKUP_DRIVE, $rev);
352 static function createMediaPathFromPath($path, $rev = null): WikiPath
354 return new WikiPath($path, WikiPath::MEDIA_DRIVE, $rev);
449 static function createMediaPathFromId($id, $rev = null): WikiPath
452 return self::createMediaPathFromPath($id, $rev);
477 $rev = '';
483 $rev = $queryKeys['rev'];
503 return new WikiPath(":$path", $drive, $rev);
508 static function createMarkupPathFromId($id, $rev = null): WikiPath
566 * @param string $rev - the revision
570 static function createWikiPath($path, $drive, string $rev = ''): WikiPath
572 return new WikiPath($path, $drive, $rev);
714 * @param string|null $rev
718 static function createFromPath(string $path, string $drive, string $rev = null): WikiPath
720 return new WikiPath($path, $drive, $rev);
908 if (empty($this->rev)) {
909 throw new ExceptionNotFound("The rev was not set");
911 return $this->rev;
1024 return new WikiPath($this->absolutePath, $this->drive, $this->rev);
1044 return new WikiPath(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, $this->drive, $this->rev);
1055 return new WikiPath($path, $this->drive, $this->rev);
1099 if (!empty($this->rev)) {
1100 $uri = "$uri?rev={$this->rev}";
1176 if (!empty($rev)) {
1177 $filePathString = mediaFN($this->id, $rev);
1194 if (empty($this->rev)) {
1197 $filePathString = Site::getOldDirectory()->resolve(utf8_encodeFN($idFileSystem) . '.' . $this->rev . '.' . $extension)->toAbsoluteId();