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:

lib/private/AppFramework/OCS/BaseResponse.php#58

Parameters:
protected OC\AppFramework\OCS\BaseResponse::renderResult($meta)
Source:

lib/private/AppFramework/OCS/BaseResponse.php#93

Parameters:
  • $meta (string[])
Returns:

string

protected OC\AppFramework\OCS\BaseResponse::toXML($array, $writer)
Source:

lib/private/AppFramework/OCS/BaseResponse.php#127

Parameters:
  • $array (array)
  • $writer (XMLWriter)
public OC\AppFramework\OCS\BaseResponse::getOCSStatus()
Source:lib/private/AppFramework/OCS/BaseResponse.php#148