1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Kiriwrite Documentation - Developer Documentation - 1.5: kiriwrite_page_delete</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <span class="apptitle">Kiriwrite</span>
\r
12 <a href="index.html">Index</a> | <a href="user.html">User
\r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> |
\r
14 <a href="developer.html">Developer Documentation</a>
\r
17 <div class="pageinformation">
\r
18 <span class="pagetitle">1.5 kiriwrite_page_delete</span><br><br>
\r
20 kirirwite_page_delete will delete a page from the selected database. If the confirm value is not supplied then it will write a form asking if the selected page should be deleted. If the database and page filename values are not given together than an error is returned.<br><br>
\r
22 kiriwrite_page_delete will return data that is intended for kiriwrite_output_page.<br><br>
\r
24 <span class="heading">Parameters:</span><br><br>
\r
27 kiriwrite_page_delete(database, page, confirm);
\r
30 <span class="heading">Usage:</span><br><br>
\r
33 $pagedata = kiriwrite_page_delete("database", "filename.html";<br>
\r
34 $pagedata = kiriwrite_page_delete("database", "filename.html", 1);
\r
40 Specifies the database to delete the selected page from.<br><br>
\r
43 Specifies the page with the filename given to delete.<br><br>
\r
46 Specifies if the action to edit the page should be confirmed by passing a '1'.
\r