
Anonymous Community User asked a question.
Cant acces files collection from item
The problem i have is: That when i retrieve a single item like this $item = PodioItem::get( $item_id ); foreach($item->files as $file) { var_dump($file->file_id); } I get the file_id's dumped but when i try the same on a collection of items by using the following code: $items = PodioItem::filter($app_id); foreach($items as $item) { foreach($item->files as $file) { var_dump($file->file_id); } } The files collection seems to be empty there are no files, no comments etc