HumHub Documentation (unofficial)

ViewableInterface

Viewable Interface

Tags
since
1.16

Table of Contents

Methods

canView()  : bool
Checks if user can view this element.

Methods

canView()

Checks if user can view this element.

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

User instance or user id, null - current user

Return values
bool

        
On this page

Search results