Lines Matching defs:wikiId
117 public static function isWriter($wikiId = null): bool
120 if ($wikiId === null) {
123 $wikiId = $executionContext->getRequestedPath()->getWikiId();
135 $perm = auth_quickaclcheck($wikiId);
137 $perm = auth_aclcheck($wikiId, '', null);
192 public static function isReader(string $wikiId): bool
194 $perm = self::getPermissions($wikiId);
204 private static function getPermissions(string $wikiId): int
206 if ($wikiId == null) {
207 $wikiId = MarkupPath::createFromRequestedPage()->getWikiId();
210 $perm = auth_quickaclcheck($wikiId);
212 $perm = auth_aclcheck($wikiId, '', null);