1.11 kiriwrite_database_add
kiriwrite_database_add adds a database. If the confirm value is not given then it will write a form for adding a database.
kiriwrite_database_add will return data that is intended for kiriwrite_output_page.
Parameters:
kiriwrite_database_add(filename, name, description, notes, categories, confirm);
Usage:
$pagedata = kiriwrite_database_add();
$pagedata = kiriwrite_database_add("database", "New Database", "New Database Description", "New Database Notes", "new, database, categories", 1);
filename
Specifies the filename of the database to add. This is required when actually adding a database.
name
Specifies the name of the database to add. This is required when actually adding a database.
description
Specifies the description of the database to add. This is required when actually adding a database.
notes
Specifies the notes of the database to add. This is required when actually adding a database.
categories
Specifies the categories to the database to add. This is required when actually adding a database.
confirm
Specifies if the action to add a database should be confirmed by passing a '1'.