Hello,
I have data need process after fetch it with query … how could I link it with the $this->paginate after I process it?
is there something link $processedData = $this->paginate($newData); ?
Million thanks
Hello,
I have data need process after fetch it with query … how could I link it with the $this->paginate after I process it?
is there something link $processedData = $this->paginate($newData); ?
Million thanks
As far as I know that’s not really possible. But depending on how exactly you need to process it, accessors and mutators might do the trick: http://book.cakephp.org/3.0/en/orm/entities.html#accessors-mutators
Alternatively you could consider using a helper.