/** * Fetches the integer page id for a page alias. * Looks if ->id is not an integer and if so it will search for a page alias and if found the page uid of that page is stored in $this->id * * @return void * @access private */ function checkAndSetAlias() { if ($this->id && !t3lib_div::testInt($this->id)) { $aid = $this->sys_page->getPageIdFromAlias($this->id); if ($aid) { $this->id = $aid; } else { $this->pageNotFound = 4; } } }