HumHub Documentation (unofficial)

DeletableInterface

Deletable Interface

Tags
since
1.16

Table of Contents

Methods

canDelete()  : bool
Checks if given item can be deleted.
delete()  : mixed
Delete this object

Methods

canDelete()

Checks if given item can be deleted.

public canDelete([User|int|string|null $user = null ]) : bool
Parameters
$user : User|int|string|null = null

user instance or user id

Return values
bool

        
On this page

Search results