Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Updated the documentation.
[kiriwrite/.git] / Documentation / English (British) / developer-chapter3-getpagelist.html
index 5766018..99b6d7d 100644 (file)
@@ -22,7 +22,7 @@ Gets the page list from a database. The page list is returned as an array.<br><b
 <span class="heading">Parameters:</span><br><br>\r
 \r
 <div class="code">\r
-    $kiriwrite_dbmodule->getpagelist();\r
+    $kiriwrite_dbmodule->getpagelist(<i>options</i>);\r
 </div>\r
 \r
 <br>\r
@@ -31,9 +31,26 @@ Gets the page list from a database. The page list is returned as an array.<br><b
 \r
 <div class="code">\r
     $kiriwrite_dbmodule->selectdb(“database”);<br>\r
-    @pagelist = $kiriwrite_dbmodule->getpagelist();\r
+    @pagelist = $kiriwrite_dbmodule->getpagelist({ StartFrom => 0, Limit => 50 });\r
 </div>\r
 \r
+<br><br>\r
+\r
+<table class="infotable">\r
+    <tr>\r
+        <td class="tableheading">Value</td>\r
+        <td class="tableheading">Description</td>\r
+    </tr>\r
+    <tr>\r
+        <td class="tabledata">StartFrom</td>\r
+        <td class="tabledata">Specifies which page entry to start from.</td>\r
+    </tr>\r
+    <tr>\r
+        <td class="tabledata">Limit</td>\r
+        <td class="tabledata">Specifies how many pages that should be retrieved.</td>\r
+    </tr>\r
+</table>\r
+\r
 <br>\r
 \r
 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
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy