![]() is_guest(), is_viewing() and is_enrolled() It is strongly discouraged to use is_siteadmin() in activity modules, please use standard capabilities and enrolment status instead. It is usually not necessary any more, because any write or risky capabilities are now automatically prevented in has_capability(). These function were previously needed for limiting of access of special accounts. isguestuser(), isloggedin() and is_siteadmin() For example view resource files, reading of glossary entries, etc. This function is supposed to be used only in activities that want to allow read access to content on the frontpage without logging-in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |