Webylon 3.1 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • RestfulService
  • RestfulService_Response
  • RSSFeed
  • RSSFeed_Entry
  • SapphireSoapServer
  • SS_HTMLValue
  • VersionedRestfulServer

Class RestfulService_Response

SS_HTTPResponse
Extended by RestfulService_Response
Package: sapphire\integration
Located at sapphire/api/RestfulService.php

Methods summary

public
# __construct( mixed $body, mixed $statusCode = 200, mixed $headers = null )

Create a new HTTP response

Create a new HTTP response

Parameters

$body
$body The body of the response
$statusCode
$statusCode The numeric status code - 200, 404, etc
$headers
$statusDescription The text to be given alongside the status code. This can be accessed by javascript

Overrides

SS_HTTPResponse::__construct
public
# simpleXML( )
public
# xpath( mixed $xpath )

Return an array of xpath matches

Return an array of xpath matches

public
# xpath_one( mixed $xpath )

Return the first xpath match

Return the first xpath match

Methods inherited from SS_HTTPResponse

addHeader(), getBody(), getHeader(), getHeaders(), getLinks(), getStatusCode(), getStatusDescription(), isError(), isFinished(), output(), redirect(), removeHeader(), setBody(), setStatusCode()

Magic methods summary

Properties summary

protected mixed $simpleXML
#

Properties inherited from SS_HTTPResponse

$body, $headers, $redirect_codes, $statusCode, $statusDescription, $status_codes

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.1 API Docs API documentation generated by ApiGen 2.8.0