How to access caption of an image galley

I am trying to write a plugin, but I need to get the caption of an image galley. How is this done?

Thanks

Stephen

PS where do i find documentation related to the different galley possibilities? or to other classes?

Hi @ssciberras,

I assume you’re asking about OJS – what version are you using? (Please include this in your posts.)

Regards,
Alec Smecher
Public Knowledge project Team

sorry, OJS 3.1.1-1

I manages somehow, I used php print_r to get access to the objects.

For reference (mine, and for others)

$galley->_submissionFile->_data[“caption”];

Thanks

Stephen

I am updating to 3.3, and it seems that getcaption or getdata(catpion) is not working for submissionfiles object.

Any hints?