CBPDocumentService::toInternalOperations: Bitrix method

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

    
public function toInternalOperations($parameterDocumentType$permissions)
    {
        list(
$moduleId$entity$documentType) = CBPHelper::ParseDocumentId($parameterDocumentType);

        if (
strlen($moduleId) > 0)
            
CModule::IncludeModule($moduleId);

        if (
class_exists($entity) && method_exists($entity"toInternalOperations"))
            return 
call_user_func_array(array($entity"toInternalOperations"), array($documentType$permissions));

        return 
$permissions;
    }