CBPAllHistoryService::GetById: Bitrix method

      
<?php 
//  CBPAllHistoryService :: GetById()
//  /dist/bitrix/modules/bizproc/classes/general/historyservice.php:176

    
public static function GetById($id)
    {
        
$id intval($id);
        if (
$id <= 0)
            throw new 
CBPArgumentNullException("id");

        
$h = new CBPHistoryService();
        
$db $h->GetHistoryList(array(), array("ID" => $id));
        return 
$db->GetNext();
    }