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 - 3.26: getpagelist</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">3.26 getpagelist</span><br><br>
\r
20 Gets the page list from a database. The page list is returned as an array.<br><br>
\r
22 <span class="heading">Parameters:</span><br><br>
\r
25 $kiriwrite_dbmodule->getpagelist(<i>options</i>);
\r
30 <span class="heading">Usage:</span><br><br>
\r
33 $kiriwrite_dbmodule->selectdb("database");<br>
\r
34 @pagelist = $kiriwrite_dbmodule->getpagelist({ StartFrom => 0, Limit => 50 });
\r
39 <table class="infotable">
\r
41 <td class="tableheading">Value</td>
\r
42 <td class="tableheading">Description</td>
\r
45 <td class="tabledata">StartFrom</td>
\r
46 <td class="tabledata">Specifies which page entry to start from.</td>
\r
49 <td class="tabledata">Limit</td>
\r
50 <td class="tabledata">Specifies how many pages that should be retrieved.</td>
\r
56 If a database error occurs while getting the list of pages in the database then the error returned should be 'DatabaseError' in the $error scalar and information about the error should be in the $errorext scalar.
\r