public function attach(HTTPRequest $request)
    {
        $fileID = $request->requestVar('fileID'); //why is this not POST?
        $dataObject = $this->createDataObject($fileID);

        $response = new HTTPBulkToolsResponse(false, $this->gridField);
        $response->addSuccessRecord($dataObject);
        return $response;
    }
public function attach(HTTPRequest $request)
    {
        $fileID = $request->requestVar('fileID'); //why is this not POST?
        $dataObject = $this->createDataObject($fileID);

        $response = new HTTPBulkToolsResponse(false, $this->gridField);
        $response->addSuccessRecord($dataObject);
        return $response;
    }
public function attach ( HTTPRequest $ request ) { $ fileID = $ request -> requestVar ( 'fileID' ) ; //why is this not POST? $ dataObject = $ this -> createDataObject ( $ fileID ) ; $ response = new HTTPBulkToolsResponse ( false , $ this -> gridField ) ; $ response -> addSuccessRecord ( $ dataObject ) ; return $ response ; }
Retrieve File to be attached
and generated DataObject.

@param HTTPRequest $request

@return HTTPBulkToolsResponse
Retrieve File to be attached and generated DataObject .