You are here

class ServicesParserMultipart in Services 7.3

Hierarchy

Expanded class hierarchy of ServicesParserMultipart

2 string references to 'ServicesParserMultipart'
rest_server_request_parsers in servers/rest_server/rest_server.module
Builds a list of request parsers that are available to the RESTServer.
ServicesRESTServerTests::testParseRequestBody in servers/rest_server/tests/ServicesRESTServerTests.test
Test for parseRequestBody() method.

File

servers/rest_server/includes/ServicesParser.inc, line 145

View source
class ServicesParserMultipart implements ServicesParserInterface {
  public function parse(ServicesContextInterface $context) {

    // php://input is not available with enctype="multipart/form-data".
    // see http://php.net/manual/en/wrappers.php.php
    return $context
      ->getPostData();
  }

}

Members