ArchiveableInterface
in
Deletable Interface
Tags
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
archive()
Archive this object
public
archive() : bool
Return values
boolcanArchive()
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
boolunarchive()
Unarchive this object
public
unarchive() : bool