Class Restapi_Command_Controller
REST API command controller.
- Core_Command_Controller
- Restapi_Command_Controller
Package: HostCMS\Restapi
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at restapi/command/controller.php
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at restapi/command/controller.php
Methods summary
public
|
|
public
|
|
protected
array
|
|
protected
string
|
|
protected
|
|
protected
|
|
protected
string|false
|
|
protected
boolean
|
|
protected
array
|
|
protected
|
Methods inherited from Core_Command_Controller
Properties summary
public
string
|
$version
Selected API version |
#
NULL
|
public
string
|
$path
Request path |
#
NULL
|
protected
integer
|
$_limit
GET limit |
#
25
|
protected
integer
|
$_offset
GET offset |
#
0
|
protected
string|null
|
$_mode
Request mode, e.g. JSON, XML |
#
NULL
|
protected
string|null
|
$_error
Error Message |
#
NULL
|
protected
integer
|
$_statusCode
HTTP code, default 200 |
#
200
|
protected
mixed
|
$_answer
REST API answer |
#
NULL
|
protected
|
$_user
|
#
NULL
|
protected
array
|
$_config
Module Config |
#
array()
|
protected
array
|
$_availableOperators
Available operators in the filter fields ne - "!=" not equal to lt - "<" is less than gt - ">" is greater than lte - "≤" is less than or equal to gte - "≥" is greater than or equal to |
#
array('ne', 'lt', 'gt', 'lte', 'gte')
|
protected
|
$_oCore_Response
Core_Response |
#
NULL
|