Flarum
Forum
PHP
JS
v0.1.0-beta
v0.1.0-beta.2
v0.1.0-beta.3
v0.1.0-beta.4
v0.1.0-beta.5
v0.1.0-beta.6
v0.1.0-beta.7
v0.1.0-beta.8
v0.1.0-beta.9
v0.1.0-beta.10
v0.1.0-beta.11
v0.1.0-beta.12
v0.1.0-beta.13
master
Classes
Namespaces
Interfaces
Traits
Index
Search
DeletePost
class
DeletePost
Properties
int
$postId
The ID of the post to delete.
User
$actor
The user performing the action.
array
$data
Any other user input associated with the action. This is unused by default, but may be used by extensions.
Methods
__construct
(int $postId,
User
$actor, array $data = [])
No description
Details
at
line 44
__construct
(int $postId,
User
$actor, array $data = [])
Parameters
int
$postId
The ID of the post to delete.
User
$actor
The user performing the action.
array
$data
Any other user input associated with the action. This is unused by default, but may be used by extensions.