3.7 dbpermissions

Checks if the Kiriwrite database permissions given are valid.

Parameters:

$kiriwrite_dbmodule->dbpermissions(database, read, write);

Usage:

$database_permissions = $kiriwrite_dbmodule->dbpermissions("database", 1, 1);

database
Specifies the database to check.

read
Check if the database can be read from.

write
Check if the database can be written to.