Class Database
This file deals with some database internals.
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());
|