Lines Matching refs:page
8 const NAME = "page-search";
55 foreach ($pages as $page) {
56 if (!$page->exists()) {
57 $page->getDatabasePage()->delete();
58 LogUtility::log2file("The page ($page) returned from the search query does not exist and was deleted from the database");
61 $linkUtility = LinkMarkup::createFromPageIdOrPath($page->getWikiId());
63 $html = $linkUtility->toAttributes()->toHtmlEnterTag("a") . $page->getTitleOrDefault() . "</a>";
65 $html = "Unable to render the link for the page ($page). Error: {$e->getMessage()}";