Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

string
$_contentType= ''application/json''
Content type
'application/json'
Details
string
$_contentTypeRegex= ''#[a-z]+/[a-z][a-z-]+#i''
Content type regex
'#[a-z]+/[a-z][a-z-]+#i'
Details
string
$_envelope= 'self::ENV_JSONRPC_1'
Current envelope
self::ENV_JSONRPC_1
Details
array
$_envelopeTypes= 'array(
self::ENV_JSONRPC_1'
Allowed envelope types
array(
self::ENV_JSONRPC_1
Details
addService(
\Zend_Json_Server_Smd_Service|array $service
)
:
void
Add Service
Name | Type | Description |
---|---|---|
$service | \Zend_Json_Server_Smd_Service|array |

getService(
string $name
)
:
false|\Zend_Json_Server_Smd_Service
Get service object
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
false|\Zend_Json_Server_Smd_Service |

removeService(
string $name
)
:
boolean
Remove service
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
boolean |

setDojoCompatible(
bool $flag
)
:
\Zend_Json_Server_Smd
Indicate whether or not to generate Dojo-compatible SMD

setEnvelope(
string $envelopeType
)
:
\Zend_Json_Server_Smd
Set envelope
Name | Type | Description |
---|---|---|
$envelopeType | string |
Type | Description |
---|---|
\Zend_Json_Server_Smd |