library/QATools/QATools/PageObject/PageLocator/DefaultPageLocator.php
public function resolvePage($name)
	{
		if ( empty($name) ) {
			throw new PageFactoryException('No page name given', PageFactoryException::TYPE_PAGE_NAME_MISSING);
		}

		$possible_pages = $this->buildPossiblePages($name);

		return $this->getExistingPageClass($possible_pages);
	}
public function resolvePage($name)
	{
		if ( empty($name) ) {
			throw new PageFactoryException('No page name given', PageFactoryException::TYPE_PAGE_NAME_MISSING);
		}

		$possible_pages = $this->buildPossiblePages($name);

		return $this->getExistingPageClass($possible_pages);
	}
public function resolvePage ( $ name ) { if ( empty ( $ name ) ) { throw new PageFactoryException ( 'No page name given' , PageFactoryException :: TYPE_PAGE_NAME_MISSING ) ; } $ possible_pages = $ this -> buildPossiblePages ( $ name ) ; return $ this -> getExistingPageClass ( $ possible_pages ) ; }
Returns the fully qualified class name of a page by its name.

@param string $name The name of the page.

@return string
@throws PageFactoryException When no name is given.
Returns the fully qualified class name of a page by its name .