original_string: public function deleteFile($recordId, $field, $event = null, $repeatInstance = null)
      {
          $data = array (
                  'token'        => $this->apiToken,
                  'content'      => 'file',
                  'action'       => 'delete',
                  'returnFormat' => 'json'
          );
          
          #----------------------------------------
          # Process arguments
          #----------------------------------------
          $data['record']           = $this->processRecordIdArgument($recordId);
          $data['field']            = $this->processFieldArgument($field);
          $data['event']            = $this->processEventArgument($event);
          $data['repeat_instance']  = $this->processRepeatInstanceArgument($repeatInstance);
          
          $result = $this->connection->callWithArray($data);
          
          $this->processNonExportResult($result);
          
          return $result;
      }
code: public function deleteFile($recordId, $field, $event = null, $repeatInstance = null)
      {
          $data = array (
                  'token'        => $this->apiToken,
                  'content'      => 'file',
                  'action'       => 'delete',
                  'returnFormat' => 'json'
          );
          
          #----------------------------------------
          # Process arguments
          #----------------------------------------
          $data['record']           = $this->processRecordIdArgument($recordId);
          $data['field']            = $this->processFieldArgument($field);
          $data['event']            = $this->processEventArgument($event);
          $data['repeat_instance']  = $this->processRepeatInstanceArgument($repeatInstance);
          
          $result = $this->connection->callWithArray($data);
          
          $this->processNonExportResult($result);
          
          return $result;
      }
code_tokens: public function deleteFile ( $ recordId , $ field , $ event = null , $ repeatInstance = null ) { $ data = array ( 'token' => $ this -> apiToken , 'content' => 'file' , 'action' => 'delete' , 'returnFormat' => 'json' ) ; #---------------------------------------- # Process arguments #---------------------------------------- $ data [ 'record' ] = $ this -> processRecordIdArgument ( $ recordId ) ; $ data [ 'field' ] = $ this -> processFieldArgument ( $ field ) ; $ data [ 'event' ] = $ this -> processEventArgument ( $ event ) ; $ data [ 'repeat_instance' ] = $ this -> processRepeatInstanceArgument ( $ repeatInstance ) ; $ result = $ this -> connection -> callWithArray ( $ data ) ; $ this -> processNonExportResult ( $ result ) ; return $ result ; }
docstring: Deletes the specified file.
  
  @param string $recordId the record ID of the file to delete.
  @param string $field the field name of the file to delete.
  @param string $event the event of the file to delete
  (only for longitudinal studies).
  @param integer $repeatInstance repeat instance of the file to delete
  (only for studies that have repeating events
  and/or instruments).
docstring_tokens: Deletes the specified file .