CBPVirtualDocument::GetDocumentAdminPage: Bitrix method

      
<?php 
//  CBPVirtualDocument :: GetDocumentAdminPage()
//  /dist/bitrix/modules/bizproc/classes/general/virtualdocument.php:1234

    
public function GetDocumentAdminPage($documentId)
    {
        return 
null;

        
$documentId intval($documentId);
        if (
$documentId <= 0)
            throw new 
CBPArgumentNullException("documentId");

        
$db CIBlockElement::GetList(
            array(),
            array(
"ID" => $documentId"SHOW_NEW"=>"Y"),
            
false,
            
false,
            array(
"ID""IBLOCK_ID""IBLOCK_TYPE_ID")
        );
        if (
$ar $db->Fetch())
            return 
"/bitrix/admin/iblock_element_edit.php?view=Y&ID=".$documentId."&IBLOCK_ID=".$ar["IBLOCK_ID"]."&type=".$ar["IBLOCK_TYPE_ID"];

        return 
null;
    }