protected function _getTypeNameBasedOnNestingLevel($singularType, $level)
    {
        if ($level == 0) {
            // This is not an Array anymore, return the xsd simple type
            return $singularType;
        } else {
            $prefix = str_repeat("ArrayOf", $level);
            $xsdType = $this->_getStrippedXsdType($singularType);
            $arrayType = $prefix.$xsdType;
            return "tns:$arrayType";
        }
    }
protected function _getTypeNameBasedOnNestingLevel($singularType, $level)
    {
        if ($level == 0) {
            // This is not an Array anymore, return the xsd simple type
            return $singularType;
        } else {
            $prefix = str_repeat("ArrayOf", $level);
            $xsdType = $this->_getStrippedXsdType($singularType);
            $arrayType = $prefix.$xsdType;
            return "tns:$arrayType";
        }
    }
protected function _getTypeNameBasedOnNestingLevel ( $ singularType , $ level ) { if ( $ level == 0 ) { // This is not an Array anymore, return the xsd simple type return $ singularType ; } else { $ prefix = str_repeat ( "ArrayOf" , $ level ) ; $ xsdType = $ this -> _getStrippedXsdType ( $ singularType ) ; $ arrayType = $ prefix . $ xsdType ; return "tns:$arrayType" ; } }
Return the ArrayOf or simple type name based on the singular xsdtype and the nesting level

@param  string $singularType
@param  int    $level
@return string
Return the ArrayOf or simple type name based on the singular xsdtype and the nesting level