liam-linux-account-manager/model/dbdirectory.php

18 lines
357 B
PHP
Raw Normal View History

2021-11-16 15:11:32 +01:00
<?php
/**
* Basic database directory abstract class. Inherited by most classes that manipulate lists of objects in the database.
*/
abstract class DBDirectory {
protected $database;
/**
* Sets up the local $database object for use by the inheriting classes.
*/
public function __construct() {
global $database;
$this->database = $database;
}
}