Lines Matching defs:id

62      * For whatever reason, the row id is lowercase
179 * @throws ExceptionNotExists - no page id to add
311 static function getFromDokuWikiId($id): DatabasePageRow
314 $databasePage->markupPath = MarkupPath::createMarkupFromId($id);
315 $row = $databasePage->getDatabaseRowFromDokuWikiId($id);
463 // no page id
477 * Named identifier: id (ie path)
480 $id = $markupPath->getPathObject()->toWikiPath()->getWikiId();
481 return $this->getDatabaseRowFromDokuWikiId($id);
634 * If the user copy a frontmatter with the same page id abbr, we got a problem
640 throw new ExceptionBadState("You can't insert a page in the database without a page id");
652 $message = "The page ($this->markupPath) cannot be replicated to the database because it has the same page id abbreviation ($pageIdAbbr) than the page ($duplicatePage)";
757 * With the advent of the page id, it should never occurs anymore
875 // no page id for non-existent page ok
918 throw new ExceptionRuntimeInternal("Error while retrieving the object by id", self::CANONICAL, 1, $e);
925 throw new ExceptionNotFound("No object by page id");
935 $message = "The pages ($existingPages) have all the same page id ($pageIdValue)";
983 $id = $rows[0][DokuwikiId::DOKUWIKI_ID_ATTRIBUTE];
984 $this->checkCollision($id, $canoncialName, $canonicalValue);
989 $id = $row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE];
990 $duplicatePage = MarkupPath::createMarkupFromId($id);
1033 function getDatabaseRowFromDokuWikiId(string $id): array
1035 return $this->getDatabaseRowFromAttribute(DokuwikiId::DOKUWIKI_ID_ATTRIBUTE, $id);
1077 throw new ExceptionRuntimeInternal("The wiki id should be available");
1091 LogUtility::error("A row id should be present");
1095 // page id throw for several id
1170 $id = $rows[0]['ID'];
1179 LogUtility::msg("For the alias $alias, there is more than one page defined ($pages), the first one ($id) was used", LogUtility::LVL_MSG_ERROR, Aliases::PROPERTY_NAME);
1311 // The database does not allow two page id with the same value
1342 throw new ExceptionNotFound("No object by row id ($rowId)");