private function searchPageByRequestKey($key)
	{
		$pageId = $this->getRequestParameter($key);

		if (empty($pageId)) {
			return null;
		}

		return $this->getEntityManager()
				->find(AbstractPage::CN(), $pageId);
	}
private function searchPageByRequestKey($key)
	{
		$pageId = $this->getRequestParameter($key);

		if (empty($pageId)) {
			return null;
		}

		return $this->getEntityManager()
				->find(AbstractPage::CN(), $pageId);
	}
private function searchPageByRequestKey ( $ key ) { $ pageId = $ this -> getRequestParameter ( $ key ) ; if ( empty ( $ pageId ) ) { return null ; } return $ this -> getEntityManager ( ) -> find ( AbstractPage :: CN ( ) , $ pageId ) ; }
Try selecting abstract page by request parameter.

@param string $key
@return null|AbstractPage
Try selecting abstract page by request parameter .