pagination::__construct($count, $limit, $params = array())

Constructor

  • $data (object)
    The collection with all data (KirbyFiles or KirbyPages)
  • $limit (int)
    The number of items per page
  • $params (array)
    Additional parameters to control the pagination object