Entries in the ewiki *DataBase can be of various types, indicated by the {flags} entry. The most common (hopefully!) is, that the entry is to be treated as ordinary WikiPage. The {flags} in every database entry is just an integer value, and there are other bits, than the one mentioned here. (The type-PageFlags can be masked using the EWIKI_DB_F_TYPE constant).

bit indicates
*_DB_F_TEXT an ordinary WikiPage
_DB_F_BINARY some db entry, which should be downloaded via the ewiki.php?binary= URL, usually images
_DB_F_SYSTEM internal entry, often some secret control data
*_DB_F_DISABLED this is more an access flag, but used as part of _DB_F_TYPE to forbid access to any WikiPage
_DB_F_PART to be considered part of any other page, not useful standalone (usually _BINARY or _SYSTEM)

PhpWiki: uses a PageType object class, but I think this is overkill, and our bit-flag approach has proved to be superior.

bottom corner