CommentsEvent¶
-
class
OCP\Comments\CommentsEvent¶ - Class CommentsEvent
Source: lib/public/Comments/CommentsEvent.php#34 Parent: OCP\EventDispatcher\Event
Constants¶
-
EVENT_ADD = OCP\Comments\ICommentsManager::addComment Source: lib/public/Comments/CommentsEvent.php#39 Deprecated: 22.0.0
-
EVENT_PRE_UPDATE = OCP\Comments\ICommentsManager::preUpdateComment Source: lib/public/Comments/CommentsEvent.php#44 Deprecated: 22.0.0
-
EVENT_UPDATE = OCP\Comments\ICommentsManager::updateComment Source: lib/public/Comments/CommentsEvent.php#49 Deprecated: 22.0.0
-
EVENT_DELETE = OCP\Comments\ICommentsManager::deleteComment Source: lib/public/Comments/CommentsEvent.php#54 Deprecated: 22.0.0
Properties¶
-
protected static property
OCP\Comments\CommentsEvent::$event¶ Source: lib/public/Comments/CommentsEvent.php#57 Type: string
-
protected static property
OCP\Comments\CommentsEvent::$comment¶ Source: lib/public/Comments/CommentsEvent.php#59 Type: \OCP\Comments\IComment
Methods¶
-
public
OCP\Comments\CommentsEvent::__construct($event, $comment)¶ - DispatcherEvent constructor.
Source: Parameters: - $event (string)
- $comment (
OCP\Comments\IComment)
Since: 9.0.0
-
public
OCP\Comments\CommentsEvent::getEvent()¶ Source: lib/public/Comments/CommentsEvent.php#77 Returns: string Since: 9.0.0
-
public
OCP\Comments\CommentsEvent::getComment()¶ Source: lib/public/Comments/CommentsEvent.php#85 Returns: \OCP\Comments\ICommentSince: 9.0.0