CBPDocument :: GetNumberOfWorkflowTemplatesForDocumentType: Bitrix method

      
<?php 
//  CBPDocument :: GetNumberOfWorkflowTemplatesForDocumentType()
//  /dist/bitrix/modules/bizproc/classes/general/document.php:1179

    
public static function GetNumberOfWorkflowTemplatesForDocumentType($documentType)
    {
        
$n CBPWorkflowTemplateLoader::GetList(
            array(),
            array(
"DOCUMENT_TYPE" => $documentType"ACTIVE"=>"Y"),
            array()
        );
        return 
$n;
    }