Я пробую Silverstripe Restfulapi , и мне нужно разбиение на страницы в конце Json Вот так:
first_page_url: "http://localhost/pointofsale/api/product/all?page=1",
from: 5,
last_page: 500,
last_page_url: "http://localhost/pointofsale/api/product/all?page=500",
next_page_url: "http://localhost/pointofsale/api/product/all?page=4",
path: "http://localhost/pointofsale/api/product/all",
per_page: "2",
prev_page_url: "http://localhost/pointofsale/api/product/all?page=2",
to: 6,
total: 1000
как настроить эти модули для нумерации страниц?