Limit fields in returned entity

Hello
I'm working on an API endpoint which returns posts from a specific thread, with an option to limit results and order them with orderByDate('...').

My problem is with the result returned:
As I'm returning a XF entity, the results contain many unwanted fields (mainly user data and node data that should not be shown to the world)

I saw this thread: https://xenforo.com/community/threa...f-columns-from-an-entity-using-finder.160806/

and understand this...

Read more

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