Zend Framework
1.12
|
Public Member Functions | |
setOptions (array $options) | |
Set object state via options. | |
setTransport ($transport) | |
Set transport. | |
getTransport () | |
Get transport. | |
setEnvelope ($envelopeType) | |
Set envelope. | |
getEnvelope () | |
Retrieve envelope. | |
setContentType ($type) | |
Set content type. | |
getContentType () | |
Retrieve content type. | |
setTarget ($target) | |
Set service target. | |
getTarget () | |
Retrieve service target. | |
setId ($id) | |
Set service ID. | |
getId () | |
Get service id. | |
setDescription ($description) | |
Set service description. | |
getDescription () | |
Get service description. | |
setDojoCompatible ($flag) | |
Indicate whether or not to generate Dojo-compatible SMD. | |
isDojoCompatible () | |
Is this a Dojo compatible SMD? | |
addService ($service) | |
Add Service. | |
addServices (array $services) | |
Add many services. | |
setServices (array $services) | |
Overwrite existing services with new ones. | |
getService ($name) | |
Get service object. | |
getServices () | |
Return services. | |
removeService ($name) | |
Remove service. | |
toArray () | |
Cast to array. | |
toDojoArray () | |
Export to DOJO-compatible SMD array. | |
toJson () | |
Cast to JSON. | |
__toString () | |
Cast to string (JSON) | |
Public Attributes | |
const | ENV_JSONRPC_1 = 'JSON-RPC-1.0' |
const | ENV_JSONRPC_2 = 'JSON-RPC-2.0' |
const | SMD_VERSION = '2.0' |
Protected Attributes | |
$_contentType = 'application/json' | |
$_contentTypeRegex = '#[a-z]+/[a-z][a-z-]+#i' | |
$_description | |
$_dojoCompatible = false | |
$_envelope = self::ENV_JSONRPC_1 | |
$_envelopeTypes | |
$_id | |
$_services = array() | |
$_target | |
$_transport = 'POST' | |
$_transportTypes = array('POST') | |
__toString | ( | ) |
Cast to string (JSON)
addService | ( | $service | ) |
addServices | ( | array | $services | ) |
getContentType | ( | ) |
Retrieve content type.
getDescription | ( | ) |
Get service description.
getEnvelope | ( | ) |
Retrieve envelope.
getId | ( | ) |
Get service id.
getService | ( | $name | ) |
Get service object.
string | $name |
getServices | ( | ) |
Return services.
getTarget | ( | ) |
Retrieve service target.
getTransport | ( | ) |
Get transport.
isDojoCompatible | ( | ) |
Is this a Dojo compatible SMD?
removeService | ( | $name | ) |
Remove service.
string | $name |
setContentType | ( | $type | ) |
setDescription | ( | $description | ) |
setDojoCompatible | ( | $flag | ) |
Indicate whether or not to generate Dojo-compatible SMD.
bool | $flag |
setEnvelope | ( | $envelopeType | ) |
setId | ( | $id | ) |
setOptions | ( | array | $options | ) |
setServices | ( | array | $services | ) |
setTarget | ( | $target | ) |
setTransport | ( | $transport | ) |
toArray | ( | ) |
Cast to array.
toDojoArray | ( | ) |
Export to DOJO-compatible SMD array.
toJson | ( | ) |
Cast to JSON.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const ENV_JSONRPC_1 = 'JSON-RPC-1.0' |
const ENV_JSONRPC_2 = 'JSON-RPC-2.0' |
const SMD_VERSION = '2.0' |