WIKINDX CLASSES

CLOSE

Class Call:
include_once("core/html/CLOSE.php");
new CLOSE(DATABASE OBJECT: $db, [STRING: $pString]);

Description:

Everything is printed to the browser from here: HTTP headers, menu system, the concatenated string object (usually $this->pString) and will tidily close the WIKINDX scripts. If $pString is passed, it is printed. Additionally, CLOSE will print the WIKINDX footer, closing HTML tags and close the database. Usually the last thing in index.php although, as it includes a call to PHP's die(), it can be used to tidily exit the script from anywhere.

Methods:
There are no public methods; simply creating the class object will close the scripts tidily.

WIKINDX home      WIKINDX usage      WIKINDX classes