示例#1
0
 public function LockDocument($documentId, $workflowId)
 {
     $documentId = intval($documentId);
     if ($documentId <= 0) {
         throw new CBPArgumentNullException("documentId");
     }
     $diskId = self::processGetDiskIdByDocId($documentId);
     if ($diskId !== null) {
         return self::proxyToDisk(__FUNCTION__, array($diskId, $workflowId));
     }
     return parent::LockDocument($documentId, $workflowId);
 }
 public function LockDocument($documentId, $workflowId)
 {
     $diskId = self::processGetDiskIdByDocId((int) $documentId);
     if ($diskId !== null) {
         self::proxyToDisk(__FUNCTION__, array($diskId, $arFields));
     }
     return parent::LockDocument($documentId, $workflowId);
 }