Lines Matching refs:resource
143 $resource = $metadata->getResource();
144 $this->checkResource($resource);
145 if ($resource === null) {
146 throw new ExceptionBadState("A resource is mandatory", self::CANONICAL);
148 if (!($resource instanceof MarkupPath)) {
149 throw new ExceptionBadState("The DokuWiki metadata store is only for page resource", self::CANONICAL);
162 $resource = $metadata->getResource();
163 $this->checkResource($resource);
164 if ($resource === null) {
165 throw new ExceptionRuntime("A resource is mandatory", self::CANONICAL);
167 if (!($resource instanceof MarkupPath)) {
168 throw new ExceptionRuntime("The DokuWiki metadata store is only for page resource", self::CANONICAL);
177 * Getting a metadata for a resource via its name
326 LogUtility::errorIfDevOrTest("The resource is not a wiki path");