-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
canLinkEvent
Description
Checks whether the current user can link an event to the current topic.
Syntax
void canLinkEvent ()
Notes
- First checks to see if you can even post calendar events
- Then checks to see if the topic and board have been set ($topic and $board global variables)
- Lastly checks to see if you're an administrator, moderator or owner of the topic
- Dies with a fatal error if you can't post calendar events (via isAllowedTo()), or a fatal_lang_error if any other condition isn't met
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.120 seconds with 13 queries.
- Forum Search