MapperEvent

class OCP\SystemTag\MapperEvent
Class MapperEvent
Source:lib/public/SystemTag/MapperEvent.php#38
Parent:OCP\EventDispatcher\Event

Constants

EVENT_ASSIGN = OCP\SystemTag\ISystemTagObjectMapper::assignTags
Source:lib/public/SystemTag/MapperEvent.php#43
Deprecated:22.0.0
EVENT_UNASSIGN = OCP\SystemTag\ISystemTagObjectMapper::unassignTags
Source:lib/public/SystemTag/MapperEvent.php#48
Deprecated:22.0.0

Properties

protected static property OCP\SystemTag\MapperEvent::$event
Source:lib/public/SystemTag/MapperEvent.php#51
Type:string
protected static property OCP\SystemTag\MapperEvent::$objectType
Source:lib/public/SystemTag/MapperEvent.php#53
Type:string
protected static property OCP\SystemTag\MapperEvent::$objectId
Source:lib/public/SystemTag/MapperEvent.php#55
Type:string
protected static property OCP\SystemTag\MapperEvent::$tags
Source:lib/public/SystemTag/MapperEvent.php#57
Type:int[]

Methods

public OCP\SystemTag\MapperEvent::__construct($event, $objectType, $objectId, $tags)
DispatcherEvent constructor.
Source:

lib/public/SystemTag/MapperEvent.php#68

Parameters:
  • $event (string)
  • $objectType (string)
  • $objectId (string)
  • $tags (int[])
Since:

9.0.0

public OCP\SystemTag\MapperEvent::getEvent()
Source:lib/public/SystemTag/MapperEvent.php#79
Returns:string
Since:9.0.0
public OCP\SystemTag\MapperEvent::getObjectType()
Source:lib/public/SystemTag/MapperEvent.php#87
Returns:string
Since:9.0.0
public OCP\SystemTag\MapperEvent::getObjectId()
Source:lib/public/SystemTag/MapperEvent.php#95
Returns:string
Since:9.0.0
public OCP\SystemTag\MapperEvent::getTags()
Source:lib/public/SystemTag/MapperEvent.php#103
Returns:int[]
Since:9.0.0