Lines Matching refs:pageid
127 * Checks if current user can read the given pageid
129 * @param string $pageid
132 public function canRead($pageid)
134 return auth_quickaclcheck($pageid) >= AUTH_READ;
138 * Returns all tags for the given pageid
353 * @param string $id pageid
422 * Returns page title, otherwise pageid
424 * @param string $pageid
427 public function getPageTitle($pageid)
429 $title = p_get_metadata($pageid, 'title', METADATA_DONT_RENDER);
430 $title = $title ?: $pageid;
486 /** @var array[] with pageid => array with tags */
549 $matchedPages[$tag] = array_filter($pages, function ($pageid) use ($ns) {
550 return $ns === '' || strpos(':' . getNS($pageid) . ':', ':' . $ns . ':') === 0;