BaseResponse¶
-
class
OC\AppFramework\OCS\
BaseResponse
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#33 Parent: OCP\AppFramework\Http\Response
Properties¶
-
protected static property
OC\AppFramework\OCS\BaseResponse::$
data
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#35 Type: array
-
protected static property
OC\AppFramework\OCS\BaseResponse::$
format
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#38 Type: string
-
protected static property
OC\AppFramework\OCS\BaseResponse::$
statusMessage
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#41 Type: string
-
protected static property
OC\AppFramework\OCS\BaseResponse::$
itemsCount
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#44 Type: int
-
protected static property
OC\AppFramework\OCS\BaseResponse::$
itemsPerPage
¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#47 Type: int
Methods¶
-
public
OC\AppFramework\OCS\BaseResponse::
__construct
($dataResponse, $format=xml, $statusMessage=null, $itemsCount=null, $itemsPerPage=null)¶ - BaseResponse constructor.
Source: Parameters: - $dataResponse (
OCP\AppFramework\Http\DataResponse
) - $format (string)
- $statusMessage (string | null)
- $itemsCount (int | null)
- $itemsPerPage (int | null)
- $dataResponse (
-
protected
OC\AppFramework\OCS\BaseResponse::
renderResult
($meta)¶ Source: Parameters: - $meta (string[])
Returns: string
-
protected
OC\AppFramework\OCS\BaseResponse::
toXML
($array, $writer)¶ Source: Parameters: - $array (array)
- $writer (
XMLWriter
)
-
public
OC\AppFramework\OCS\BaseResponse::
getOCSStatus
()¶ Source: lib/private/AppFramework/OCS/BaseResponse.php#148