./Sources/Admin.php
- AdminMain
- AdminHome
- DisplayAdminFile
- AdminSearch
- AdminSearchInternal
- AdminSearchMember
- AdminSearchOM
- AdminLogs
- AdminEndSession
AdminMain
function AdminMain(): void
The main admin handling function.
It initialises all the basic context required for the admin center.
It passes execution onto the relevant admin section.
If the passed section is not found it shows the admin home page.
AdminHome
function AdminHome(): void
The main administration section.
It prepares all the data necessary for the administration front page. It uses the Admin template along with the admin sub template. It requires the moderate_forum, manage_membergroups, manage_bans, admin_forum, manage_permissions, manage_attachments, manage_smileys, manage_boards, edit_news, or send_mail permission. It uses the index administrative area. It can be found by going to ?action=admin.
DisplayAdminFile
function DisplayAdminFile(): void
Get one of the admin information files from Simple Machines.
AdminSearch
function AdminSearch(): void
This function allocates out all the search stuff.
AdminSearchInternal
function AdminSearchInternal(): void
A complicated but relatively quick internal search.
- Integration hooks
- integrate_admin_search
AdminSearchMember
function AdminSearchMember(): void
All this does is pass through to manage members.
{@see \ViewMembers()}
AdminSearchOM
function AdminSearchOM(): void
This file allows the user to search the SM online manual for a little of help.
AdminLogs
function AdminLogs(): void
This function decides which log to load.
- Integration hooks
- integrate_manage_logs
AdminEndSession
function AdminEndSession(): void
This ends a admin session, requiring authentication to access the ACP again.