SabrePluginEvent

class OCP\SabrePluginEvent
Source:lib/public/SabrePluginEvent.php#35
Parent:OCP\EventDispatcher\Event

Properties

protected static property OCP\SabrePluginEvent::$statusCode
Source:lib/public/SabrePluginEvent.php#38
Type:int
protected static property OCP\SabrePluginEvent::$message
Source:lib/public/SabrePluginEvent.php#41
Type:string
protected static property OCP\SabrePluginEvent::$server
Source:lib/public/SabrePluginEvent.php#44
Type:\Sabre\DAV\Server

Methods

public OCP\SabrePluginEvent::__construct($server=null)
Source:lib/public/SabrePluginEvent.php#49
Since:8.2.0
public OCP\SabrePluginEvent::setStatusCode($statusCode)
Source:

lib/public/SabrePluginEvent.php#60

Parameters:
  • $statusCode (int)
Returns:

self

Since:

8.2.0

public OCP\SabrePluginEvent::setMessage($message)
Source:

lib/public/SabrePluginEvent.php#70

Parameters:
  • $message (string)
Returns:

self

Since:

8.2.0

public OCP\SabrePluginEvent::getStatusCode()
Source:lib/public/SabrePluginEvent.php#79
Returns:int
Since:8.2.0
public OCP\SabrePluginEvent::getMessage()
Source:lib/public/SabrePluginEvent.php#87
Returns:string
Since:8.2.0
public OCP\SabrePluginEvent::getServer()
Source:lib/public/SabrePluginEvent.php#95
Returns:null | \Sabre\DAV\Server
Since:9.0.0