ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,889
- Points
- 823
Reputation:
ViewableInterface
allows to perform viewability checks on arbitrary entities that implement this interface.Depending on the entity, actually calling
canView
requires quite a few relations to performan viewability checks:A
Post
entity for example requires Thread
, Thread.Forum
, Thread.Forum.Node
and Thread.Forum.Node.Permissions
.If those entitites are not already available in the entity cache this causes quite a few additional queries; if...
Read more
Continue reading...