Documentation

SMF

Table of Contents

Namespaces

Fixer
Actions
Cache
Calendar
Db
Graphics
Localization
MailAgent
OutputTypes
PackageManager
Parsers
PersonalMessage
Search
Subscriptions
Tasks
TOTP
Unicode
WebFetch

Interfaces

ActionInterface
Interface for all action classes.
OutputTypeInterface
Interface for all output ttypes
Routable
Classes implementing this interface can build routes from URL query parameters and parse routes back into URL query parameters.

Classes

TimezoneUpdater
Updates SMF's time zone data.
Lang
A cheap stand-in for the real Lang class.
Alert
Represents an alert and provides methods for working with alerts.
Attachment
This class represents a file attachment.
Autolinker
Detects URLs in strings.
Board
This class loads information about the current board, as well as other boards when needed. It also handles low-level tasks for managing boards, such as creating, deleting, and modifying them.
BrowserDetector
Class BrowserDetector This class is an experiment for the job of correctly detecting browsers and settings needed for them.
Category
This class loads information about categories. It also handles low-level tasks for managing categories, such as creating, deleting, and modifying them.
Config
Handles loading and saving SMF's settings, both in Settings.php and database.
Cookie
Represents a cookie.
DebugUtils
Contains functions that aid in debugging and are generally useful to developers.
Draft
Represents a post draft.
Editor
Creates the editor input box so that people can write messages to post.
ErrorHandler
SMF's error handler.
Forum
The root Forum class. Used when browsing the forum normally.
Group
Represents a member group.
IntegrationHook
Handles adding, removing, and calling hooked integration functions.
IP
Represents an IP address and allows performing various operations on it.
ItemList
This class provides a standard way of displaying lists for SMF.
Lang
Handles the localizable strings shown in SMF's user interface.
Logging
This class concerns itself with logging and tracking statistics.
Mail
Class for preparing and handling email messages.
Mentions
This really is a pseudo class, I couldn't justify having instance of it while mentioning so I just made every method static
Menu
Represents a menu, such as the admin menu or profile menu.
Msg
Class for a single posted message.
PageIndex
Constructs a page list.
Parser
Class Parser
Poll
Represents a poll.
PollChoice
Represents one of the choices a user can vote for in a poll.
Profile
Represents a member's profile as shown by ?action=profile.
ProxyServer
This is a lightweight proxy for serving images, generally meant to be used alongside SSL.
Punycode
Punycode implementation as described in RFC 3492
QueryString
Handles the query string, request variables, and session management.
Sapi
Server Application Programming Interface.
Security
A collection of miscellaneous methods related to forum security.
SecurityToken
Represents a security token.
ServerSideIncludes
Performs all the necessary setup and security checks for SSI access, and provides a number of useful functions that allow external scripts to access SMF data.
Session
Implementation of PHP's session API.
Slug
Creates slug strings for use in queryless URLs.
TaskRunner
Runs background tasks (a.k.a. cron jobs), including scheduled tasks.
Theme
Represents a loaded theme. Also provides many theme-related static methods.
Time
Extends \DateTime with some extra features for SMF.
TimeInterval
Extends \DateInterval with some extra features for SMF.
TimeZone
This class provides some methods to simplify working with time zones.
Topic
Represents a topic.
Url
Represents a URL string and allows performing various operations on the URL.
User
Represents a user, including both guests and registered members.
Utils
Holds some widely used stuff, like $context and $smcFunc.
Uuid
Generates, compresses, and expands Universally Unique Identifiers.
Verifier
Sets up the anti-spam control that tries to verify the user's humanity.

Traits

ActionRouter
Provides a simple implementation of the SMF\Routable interface for actions.
ActionSuffixRouter
Similar to SMF\ActionRouter, but designed to build routes for actions that are appended to board or topic routes rather than having their own independent routes.
ActionTrait
ArrayAccessHelper
Simplifies and standardizes implementing \ArrayAccess.
BackwardCompatibility
Assists in providing backward compatibility with code written for earlier versions of SMF.
DynamicPropertyHelper
Simplifies and standardizes implementing dynamic properties.

        
On this page

Search results