getDocumentEventType: Bitrix method

      
<?php 
//  getDocumentEventType()
//  /dist/bitrix/modules/bizproc/classes/general/activity.php:70

    
public function getDocumentEventType()
    {
        
$rootActivity $this->GetRootActivity();
        return (int)
$rootActivity->getRawProperty(CBPDocument::PARAM_DOCUMENT_EVENT_TYPE);
    }