HumHub Documentation (unofficial)

ArchiveableInterface

Deletable Interface

Tags
since
1.16

Table of Contents

Methods

archive()  : bool
Archive this object
canArchive()  : bool
Checks if the given user can edit/create this element.
unarchive()  : bool
Unarchive this object

Methods

canArchive()

Checks if the given user can edit/create this element.

public canArchive([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