Overview

Namespaces

  • ModHelper
    • Exceptions

Classes

  • A
  • BitwiseFlag
  • Collection
  • Database
  • Editor
  • Hooks
  • Linktree
  • Menu
  • Nonce
  • Psr4AutoloaderClass
  • Verify

Traits

  • SingletonTrait
  • Overview
  • Namespace
  • Class

Class Database

This file deals with some database internals.

Namespace: ModHelper
Package: ModHelper
Since: 1.0
Located at Database.php
Methods summary
public static mixed
# __callStatic( string $name, string $arguments )

Handler to SMF's database functions.

Handler to SMF's database functions.

Parameters

$name
The name (or key) of the $smcFunc you are calling.
$arguments
This is an array of all arguments passed to the method.

Returns

mixed
The $smcFunc return value or false if not found.

Throws

BadFunctionCallException

Version

1.1

Since

1.0

Example

ModHelper\Database::query('', 'SELECT * FROM smf_themes', array());
API documentation generated by ApiGen