Lines Matching refs:pages
262 …$pages = $this->db->getAllPageLinkingToIssue($pmServiceName, $projectKey, $issueId, $isMergeReques…
263 …$pages = $this->db->removeOldLinks($pmServiceName, $projectKey, $issueId, $isMergeRequest, $pages);
265 if (empty($pages)) {
269 $pages = $this->keepNewest($pages);
270 $pages = $this->filterPagesForACL($pages);
271 $pages = $this->addUserToPages($pages);
272 return $pages;
278 * @param array $pages Array of pages sorted(!) from newest to oldest
282 public function keepNewest($pages) argument
285 foreach ($pages as $page) {
296 * @param array $pages
300 private function filterPagesForACL($pages) argument
303 foreach ($pages as $page) {
314 * @param array $pages
318 public function addUserToPages($pages) argument
320 foreach ($pages as &$page) {
325 return $pages;