- 'pp_propname' => 'hiddencat')),
- ));
- $this->addFields(array('cat_title', 'cat_pages', 'cat_subcats', 'cat_files', 'pp_propname AS cat_hidden'));
- $this->addWhere(array('cat_title' => $cattitles));
-
- $db = $this->getDB();
- $res = $this->select(__METHOD__);
-
- $data = array();
- $catids = array_flip($cattitles);
- while($row = $db->fetchObject($res))
- {
+ 'pp_propname' => 'hiddencat' ) ),
+ ) );
+
+ $this->addFields( array( 'cat_title', 'cat_pages', 'cat_subcats', 'cat_files', 'pp_propname AS cat_hidden' ) );
+ $this->addWhere( array( 'cat_title' => $cattitles ) );
+
+ if ( !is_null( $params['continue'] ) ) {
+ $title = $this->getDB()->addQuotes( $params['continue'] );
+ $this->addWhere( "cat_title >= $title" );
+ }
+ $this->addOption( 'ORDER BY', 'cat_title' );
+
+ $res = $this->select( __METHOD__ );
+
+ $catids = array_flip( $cattitles );
+ foreach ( $res as $row ) {