CBPRuntime :: getRestActivities: Bitrix method

      
<?php 
//  CBPRuntime :: getRestActivities()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:627

    
public function getRestActivities($lang false$documentType null)
    {
        
$result = array();
        
$iterator RestActivityTable::getList(array(
            
'filter' => array('=IS_ROBOT' => 'N')
        ));

        while (
$activity $iterator->fetch())
        {
            
$result[static::REST_ACTIVITY_PREFIX.$activity['INTERNAL_CODE']] = $this->makeRestActivityDescription($activity$lang$documentType);
        }

        return 
$result;
    }