public static function getCorrectActionName($action)
		{
			$action = strtolower($action);
			$action = str_replace(array('-','.'),' ',$action);
			$action = str_replace(' ','',ucwords($action));

			//$action = (string)(strtolower(substr($action,0,1)).substr($action,1));
			return lcfirst($action);
		}
public static function getCorrectActionName($action)
		{
			$action = strtolower($action);
			$action = str_replace(array('-','.'),' ',$action);
			$action = str_replace(' ','',ucwords($action));

			//$action = (string)(strtolower(substr($action,0,1)).substr($action,1));
			return lcfirst($action);
		}
public static function getCorrectActionName ( $ action ) { $ action = strtolower ( $ action ) ; $ action = str_replace ( array ( '-' , '.' ) , ' ' , $ action ) ; $ action = str_replace ( ' ' , '' , ucwords ( $ action ) ) ; //$action = (string)(strtolower(substr($action,0,1)).substr($action,1)); return lcfirst ( $ action ) ; }
Action name normaliser

@param string $action Action name to normalise
@return string Normalised action name
Action name normaliser