CBPDocumentService::getTypesMap: Bitrix method

      
<?php 
//  CBPDocumentService :: getTypesMap()
//  /dist/bitrix/modules/bizproc/classes/general/documentservice.php:935

    
public function getTypesMap(array $parameterDocumentType)
    {

        
$k implode('@'$parameterDocumentType);

        if (isset(
$this->typesMapCache[$k]))
            return 
$this->typesMapCache[$k];

        
$result FieldType::getBaseTypesMap();

        
$documentFieldTypes $this->GetDocumentFieldTypes($parameterDocumentType);
        foreach (
$documentFieldTypes as $name => $field)
        {
            if (isset(
$field['typeClass']))
                
$result[strtolower($name)] = $field['typeClass'];
        }

        
$this->typesMapCache[$k] = $result;
        return 
$result;
    }