$finder / pagenav / total() / fetch() / unset some rows and normalize the pagenav and results

Well, we have the well known finder: $this->finder('XF:Thread').

Finder includes methods to separate results into pages for the <xf:pagenav>, like:
PHP:

Код:
        $total = $finder->total();
        $threads = $finder->limitByPage($page, $perPage)->fetch();

My question: AFTER $finder->fetch(); I need to unset some "rows" based on some checks which cannot be applied on the $finder query / where.

The basic thing is to not break the display on the...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ