library/QATools/QATools/PageObject/PageLocator/DefaultPageLocator.php
protected function buildClassNameFromName($name)
	{
		$class_name_parts = explode(' ', $name);

		return count($class_name_parts) == 1 ? $name : implode('', array_map('ucfirst', $class_name_parts));
	}
protected function buildClassNameFromName($name)
	{
		$class_name_parts = explode(' ', $name);

		return count($class_name_parts) == 1 ? $name : implode('', array_map('ucfirst', $class_name_parts));
	}
protected function buildClassNameFromName ( $ name ) { $ class_name_parts = explode ( ' ' , $ name ) ; return count ( $ class_name_parts ) == 1 ? $ name : implode ( '' , array_map ( 'ucfirst' , $ class_name_parts ) ) ; }
Builds the class name from a given name by uppercasing the first letter of each word and removing the spaces.

@param string $name The class name.

@return string
Builds the class name from a given name by uppercasing the first letter of each word and removing the spaces .