Unofficial SMF API Documentation

./Sources/Xml.php

XMLhttpMain

function XMLhttpMain(): void

The main handler and designator for AJAX stuff - jumpto, message icons and previews

Integration hooks
integrate_XMLhttpMain_subActions

GetJumpTo

function GetJumpTo(): void

Get a list of boards and categories used for the jumpto dropdown.

ListMessageIcons

function ListMessageIcons(): void

Gets a list of available message icons and sends the info to the template for display

RetrievePreview

function RetrievePreview(): void|bool

Handles retrieving previews of news items, newsletters, signatures and warnings.

Calls the appropriate function based on $_POST[‘item’]

newspreview

function newspreview(): void

Handles previewing news items

newsletterpreview

function newsletterpreview(): void

Handles previewing newsletters

sig_preview

function sig_preview(): void

Handles previewing signatures

warning_preview

function warning_preview(): void

Handles previewing user warnings

Suggest an edit to this page on GitHub