X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=Documentation%2FEnglish%20%28British%29%2Fdeveloper-chapter3-getpagelist.html;h=150bf1bb39c761888b76b7fba57224ff6cea0fea;hb=807fbc25c35ea3cdf16adcb2106fbb63b3511a68;hp=57660189fb5444987e208156a1e3eb5c52192af2;hpb=a110948e819f1beb388f504ddd758617fd6a6c1e;p=kiriwrite%2F.git diff --git a/Documentation/English (British)/developer-chapter3-getpagelist.html b/Documentation/English (British)/developer-chapter3-getpagelist.html index 5766018..150bf1b 100644 --- a/Documentation/English (British)/developer-chapter3-getpagelist.html +++ b/Documentation/English (British)/developer-chapter3-getpagelist.html @@ -22,7 +22,7 @@ Gets the page list from a database. The page list is returned as an array.
Parameters:

- $kiriwrite_dbmodule->getpagelist(); + $kiriwrite_dbmodule->getpagelist(options);

@@ -30,10 +30,27 @@ Gets the page list from a database. The page list is returned as an array.
Usage:

- $kiriwrite_dbmodule->selectdb(“database”);
- @pagelist = $kiriwrite_dbmodule->getpagelist(); + $kiriwrite_dbmodule->selectdb("database");
+ @pagelist = $kiriwrite_dbmodule->getpagelist({ StartFrom => 0, Limit => 50 });
+

+ + + + + + + + + + + + + + +
ValueDescription
StartFromSpecifies which page entry to start from.
LimitSpecifies how many pages that should be retrieved.
+
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.