Documentation

Core

Table of Contents

Classes

Alert
Provides access to create & get alerts for a user, as well as their PMs.
Cache
Handles caching for NamelessMC.
Config
Provides static methods to get and set configuration values from the `core/config.php` file.
Configuration
Allows easy read/write to configuration values for a module stored in the database.
Cookie
Easy read/write of cookies.
Date
Basic date helper functions.
Email
Handles sending emails and registering email placeholders.
Fields
Management of input fields.
HttpClient
Provides simple methods to make GET & POST HTTP requests.
Input
Input class.
Instanceable
Allows classes to extend this to make singleton instances easily.
Language
Log
Log handling class.
Module
Module base class as well as management class.
Navigation
Repesents a single navigation menu.
Output
Provides static methods for cleansing user input before storing in the database.
Pages
Contains data about all the registered pages in the application.
Paginator
Helps paginate data to an HTML table easily.
PermissionHandler
Allows modules to define permissions.
Redirect
Redirect class.
SecureRandom
Secure random token generation.
Session
Provides access to get/set/delete session data.
TimeAgo
This class can help you find out just how much time has passed between two dates.
Token
Validates and generates CSRF tokens.
URL
Helps build URLs which match the site's URL configuration.
User
Represents a user, logged in or not.
Util
Contains misc utility methods.
Validate
Validates an array of data.
Notification
Notification class to handle sending notifications to a user or users Notifications can be alerts or emails

Constants

HTML_LANG  = self::LANGUAGES[$this->_activeLanguage]['htmlCode']
HTML_RTL  = self::LANGUAGES[$this->_activeLanguage]['rtl'] ?? false

Constants

HTML_LANG

public mixed HTML_LANG = self::LANGUAGES[$this->_activeLanguage]['htmlCode']

HTML_RTL

public mixed HTML_RTL = self::LANGUAGES[$this->_activeLanguage]['rtl'] ?? false
Tags
phpstan-ignore-next-line
  • none of our languages are RTL (yet)

        
On this page

Search results