CBPDocumentService::GetAllowableOperations: Bitrix method

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

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

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

        if (
class_exists($entity))
            return 
call_user_func_array(array($entity"GetAllowableOperations"), array($documentType));

        return array();
    }