private function generateModuleNameCase($str) {
	    $i = array("-","_");
	    $str = preg_replace('/([a-z])([A-Z])/', "$1 $2", $str);
	    $str = str_replace($i, ' ', $str);
	    $str = str_replace(' ', '', ucwords(strtolower($str)));
	    $str = strtolower(substr($str,0,1)).substr($str,1);
	    $str = ucfirst($str);
	    return $str;
	}
private function generateModuleNameCase($str) {
	    $i = array("-","_");
	    $str = preg_replace('/([a-z])([A-Z])/', "$1 $2", $str);
	    $str = str_replace($i, ' ', $str);
	    $str = str_replace(' ', '', ucwords(strtolower($str)));
	    $str = strtolower(substr($str,0,1)).substr($str,1);
	    $str = ucfirst($str);
	    return $str;
	}
private function generateModuleNameCase ( $ str ) { $ i = array ( "-" , "_" ) ; $ str = preg_replace ( '/([a-z])([A-Z])/' , "$1 $2" , $ str ) ; $ str = str_replace ( $ i , ' ' , $ str ) ; $ str = str_replace ( ' ' , '' , ucwords ( strtolower ( $ str ) ) ) ; $ str = strtolower ( substr ( $ str , 0 , 1 ) ) . substr ( $ str , 1 ) ; $ str = ucfirst ( $ str ) ; return $ str ; }
This will modified a string to valid zf2 module name
@param string $str
@return string
This will modified a string to valid zf2 module name