\Services\Bundle\Rest\EntityRisultato

This class contains the format for the json response

Class Risultato

Summary

Methods
Properties
Constants
getSuccess()
setSuccess()
getMessage()
setMessage()
getCatalog()
setCatalog()
getItems()
setItems()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$success
$message
$catalog
$items
N/A

Properties

$success

$success : 

contain information if there is been an error

Type

$message

$message : 

contain the message

Type

$catalog

$catalog : 

contain metadata catalog

Type

$items

$items : 

this contains the information, the core

Type

Methods

getSuccess()

getSuccess() : boolean

get success value

Returns

boolean

setSuccess()

setSuccess(boolean  $success) 

set success value

Parameters

boolean $success

getMessage()

getMessage() : string

get messagge

Returns

string

setMessage()

setMessage(string  $message) 

set message

Parameters

string $message

getCatalog()

getCatalog() : string

get metadata catalog

Returns

string

setCatalog()

setCatalog(string  $catalog) 

set metadata catalog

Parameters

string $catalog

getItems()

getItems() : mixed

get items

Returns

mixed

setItems()

setItems(mixed  $items) 

set items

Parameters

mixed $items