service/core/REST/SugarRestSerialize.php

Show: inherited
Table of Contents

Constants

Constant  sugarEntry = true

\SugarRestSerialize

Package: SugarCRM

This class is a serialize implementation of REST protocol

Parent(s)
\SugarRest
Children
\SugarRestJSON
Api
 

Methods

methodpublic__construct( String $implementation ) : void
inherited

Constructor

Inherited from: \SugarRest::__construct()
Parameters
Name Type Description
$implementation String
  • name of the implementation class
methodpublicfault( \SoapError $errorObject ) : void

This function sends response to client containing error object

Parameters
Name Type Description
$errorObject \SoapError
  • This is an object of type SoapError
Details
Access
public  
methodpublicgenerateFaultResponse(  $errorObject ) : void

Parameters
Name Type Description
$errorObject
methodpublicgenerateResponse( array $input ) : String

It will serialize the input object and echo's it

Parameters
Name Type Description
$input array
  • assoc array of input values: key = param name, value = param type
Returns
Type Description
String - echos serialize string of $input
methodpublicserve( ) : \unknown

This method calls functions on the implementation class and returns the output or Fault object in case of error to client

Returns
Type Description
\unknown
Documentation was generated by DocBlox 0.18.1.