Post

2 followers Follow
0
Avatar

Get all the file present on PODIO

I use PodioFile::get_all(array('offset' => $startlimit, 'limit' => $limit)) to get the file but i can not exceed the limit more then 100.Is there any other way to get all the file avoiding the limit?

Shankar Jha

Please sign in to leave a comment.

2 comments

1
Avatar

Hi Shankar,

No, there isn't a way to get more than the max limit of a 100. To get a list of all files you would have to loop through with a growing offset. 

Cheers

Brian

Brian Stengaard 1 vote