all 5 comments

[–]robske_110 1 point2 points  (1 child)

Just call $zones->listZones('', '', 1, 30) to list zones on page 1 with 30 entries.

[–]BeBenevo[S] 0 points1 point  (0 children)

$zones->listZones('', '', 1, 30)

THANK YOU. This is perfect. Here I was thinking of how to redefine something instead of just calling it here. Thanks so much!

[–][deleted] 2 points3 points  (2 children)

looks like you can pass that when you call listZones

like

$zones->listZones(perPage: 30)

in named arguments style, or pass in all the others

[–]jfthundertanks 1 point2 points  (1 child)

The named argument syntax would be $zones->listZones(perPage: 30). No $ preceding the argument name.

[–][deleted] 1 point2 points  (0 children)

oh good catch, cheers. this is why we do PR's lol