Lines Matching refs:rowId
205 public static function createFromRowId(string $rowId): DatabasePageRow
210 $row = $databasePage->getDatabaseRowFromRowId($rowId);
407 $rowId = $this->getRowId();
410 ->setQueryParametrized('delete from pages where rowid = ?', [$rowId]);
414 LogUtility::error("Something went wrong when deleting the page ({$this->markupPath}) from the database with the rowid $rowId", self::CANONICAL, $e);
596 $rowId = $this->getRowId();
597 if ($rowId !== null) {
603 $values[] = $rowId;
930 $rowId = $rows[0][DokuwikiId::DOKUWIKI_ID_ATTRIBUTE];
931 $this->checkCollision($rowId, $pageIdAttribute, $pageIdValue);
1089 $rowId = $row[self::ROWID] ?? null;
1090 if ($rowId === null) {
1096 $duplicateRow = DatabasePageRow::createFromRowId($rowId);
1099 LogUtility::warning("The duplicate page ($duplicateMarkupPath) does not exists. Delete Row ({$rowId})");
1321 private function getDatabaseRowFromRowId(string $rowId)
1327 ->setQueryParametrized($query, [$rowId]);
1334 throw new ExceptionRuntimeInternal("Error while retrieving the object by rowid ($rowId)", self::CANONICAL, 1, $e);
1342 throw new ExceptionNotFound("No object by row id ($rowId)");
1346 throw new ExceptionRuntimeInternal("Too much record ($rowCount) for the rowid ($rowId)", self::CANONICAL);