Lines Matching refs:row

62      * For whatever reason, the row id is lowercase
83 private $row;
103 $row = $databasePage->getDatabaseRowFromPage($page);
104 $databasePage->setRow($row);
196 $row = $databasePage->getDatabaseRowFromPageId($pageId);
197 $databasePage->setRow($row);
210 $row = $databasePage->getDatabaseRowFromRowId($rowId);
211 $databasePage->setRow($row);
230 $row = $databasePage->getDatabaseRowFromPage($page);
231 $databasePage->setRow($row);
237 $row = $databasePage->getDatabaseRowFromPage($page);
238 $databasePage->setRow($row);
241 throw ExceptionRuntimeInternal::withMessageAndError("The row should exists as we created it specifically", $e);
256 $row = $databasePage->getDatabaseRowFromAttribute(PageId::PAGE_ID_ABBR_ATTRIBUTE, $pageIdAbbr);
257 $databasePage->setRow($row);
276 $row = $databasePage->getDatabaseRowFromAttribute(Canonical::PROPERTY_NAME, $canonical);
277 $databasePage->setRow($row);
292 $row = $databasePage->getDatabaseRowFromAlias($alias);
293 if ($row != null) {
294 $databasePage->setRow($row);
315 $row = $databasePage->getDatabaseRowFromDokuWikiId($id);
316 $databasePage->setRow($row);
445 * Return the database row
448 * @throws ExceptionNotExists - if the row does not exists
497 throw new ExceptionNotExists("No row could be found");
630 throw new ExceptionBadState("The page should be defined to create a page database row");
692 $this->row[self::ROWID] = $request
695 $this->row = array_merge($values, $this->row);
780 * @param $row
783 function setRow($row)
785 if ($row === null) {
786 LogUtility::msg("A row should not be null");
789 if (!is_array($row)) {
790 LogUtility::msg("A row should be an array");
795 * All get function lookup the row
797 $this->row = $row;
805 $this->row = null;
816 $row = $this->getDatabaseRowFromPage($this->markupPath);
817 $this->setRow($row);
981 throw new ExceptionNotFound("No canonical row was found");
988 foreach ($rows as $row) {
989 $id = $row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE];
1007 $existingPages[] = $row;
1064 throw new ExceptionNotFound("No database row found for the page");
1087 foreach ($rows as $row) {
1089 $rowId = $row[self::ROWID] ?? null;
1091 LogUtility::error("A row id should be present");
1092 $existingPages[] = $row;
1104 $existingPages[] = $row;
1110 function ($row) {
1111 return $row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE];
1123 if ($this->row === null) {
1128 && $this->row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE] !== null
1130 $this->markupPath = MarkupPath::createMarkupFromId($this->row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE]);
1173 function ($row) {
1174 return $row['ID'];
1220 if ($this->row === null) {
1224 if (!array_key_exists($attribute, $this->row)) {
1229 throw new ExceptionRuntime("The metadata ($attribute) was not found in the returned database row.", $this->getCanonical());
1232 $value = $this->row[$attribute];
1241 return $this->row[$upperAttribute] ?? null;
1342 throw new ExceptionNotFound("No object by row id ($rowId)");