ViewableInterface
in
Viewable Interface
Tags
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