You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
357 B
PHP

<?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;
}
}