protected function buildPagesClause()
    {
        $pages = $this->getPages();
        $pageIdField = ($this->type === 'pages') ? 'uid' : 'pid';

        return $pageIdField . ' IN(' . implode(',', $pages) . ')';
    }
protected function buildPagesClause()
    {
        $pages = $this->getPages();
        $pageIdField = ($this->type === 'pages') ? 'uid' : 'pid';

        return $pageIdField . ' IN(' . implode(',', $pages) . ')';
    }
protected function buildPagesClause ( ) { $ pages = $ this -> getPages ( ) ; $ pageIdField = ( $ this -> type === 'pages' ) ? 'uid' : 'pid' ; return $ pageIdField . ' IN(' . implode ( ',' , $ pages ) . ')' ; }
Builds a part of the WHERE clause of the Index Queue initialization
query. This part selects the limits items to be selected from the pages
in a site only, plus additional pages that may have been configured.
Builds a part of the WHERE clause of the Index Queue initialization query . This part selects the limits items to be selected from the pages in a site only plus additional pages that may have been configured .