service/core/REST/SugarRestSerialize.php
Constants
Package: SugarCRMThis class is a serialize implementation of REST protocol
- Parent(s)
- \SugarRest
- Children
- \SugarRestJSON
- Api
-
Methods
fault(
\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
generateResponse(
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 |
serve(
)
:
\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 |
|