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

S

Scandal

Guest
Member
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:

Code:
        $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
$finder / pagenav / total() / fetch() / unset some rows and normalize the pagenav and results

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    WASTEDYEARS @ WASTEDYEARS: FUCK MCMODELS
    Top