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.23: kiriwrite_compile_makepages</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.23 kiriwrite_compile_makepages</span><br><br>
\r
20 kiriwrite_compile_makepages compiles the pages in the database with the templates (if they have one assigned), applies any filter settings (if any are in the filter database) and writes them to the output directory.<br><br>
\r
22 kiriwrite_compile_makepages will return data that is intended for kiriwrite_output_page.<br><br>
\r
24 <span class="heading">Parameters:</span><br><br>
\r
27 kiriwrite_compile_makepages(type, confirm, selectedlist);
\r
32 <span class="heading">Usage:</span><br><br>
\r
35 $pagedata = kiriwrite_compile_makepages(“single”, 0, ['database1']);<br>
\r
36 $pagedata = kiriwrite_compile_makepages(“single”, 1, ['database1']);<br>
\r
37 $pagedata = kiriwrite_compile_makepages(“multiple”, 0, ['database1','database2','database3','database4']);<br>
\r
38 $pagedata = kiriwrite_compile_makepages(“multiple”, 1, ['database1','database2','database3','database4']);
\r
44 Specifies the type meaning if a single or multiple databases should be compiled. This is required every time the subroutine is called.<br><br>
\r
46 <table class="infotable">
\r
48 <td class="tableheading">Value</td>
\r
49 <td class="tableheading">Description</td>
\r
52 <td class="tabledata">single</td>
\r
53 <td class="tabledata">Specifies that a single database should be compiled.</td>
\r
56 <td class="tabledata">multiple</td>
\r
57 <td class="tabledata">Specifies that multiple databases should be compiled.</td>
\r
64 Specifies if the action to compile the selected database should be confirmed by passing a '1'. This is required every time the subroutine is called.<br><br>
\r
67 Specifies the list of databases to compile as an array. This is required every time the subroutine is called.
\r