Function RevisionEngineDatabase->__construct
Definitions
sources/revisions_engine_database.php
- Constructor.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $is_log_mod | boolean | No | No | False | N/A | N/A | Whether the logs are done via the forum moderator's log |
| $db | ?object | No | No | Null | N/A | N/A | Database connector to use (null: work out using norms for $is_log_mod value) |
Preview
Code (PHP)
/**
* Constructor.
*
* @param boolean $is_log_mod Whether the logs are done via the forum moderator's log
* @param ?object $db Database connector to use (null: work out using norms for $is_log_mod value)
*/
public function __construct(bool $is_log_mod = false, ?object $db = null)
* Constructor.
*
* @param boolean $is_log_mod Whether the logs are done via the forum moderator's log
* @param ?object $db Database connector to use (null: work out using norms for $is_log_mod value)
*/
public function __construct(bool $is_log_mod = false, ?object $db = null)
