I'm trying to extend the CSV output plugin. I need to include details of the limesurvey participant who submitted a response in the CSV file on a formatted line.
My PHP skills are average, but I don't deal with Objects very much.
When I run $this->survey through print_r() I can see [firstname] and [lastname] keys in there that relate to the respondant for the question relating to something that looks like a SQL return as a 'CDbDataReader' object.
I'm stuck in terms of trying to simply access the details of the participant who submitted the response so that I can format them into a string and place them into the CSV output.
I know there must be a simple way, but no amount of stackexchange time or converting data types seems to work for me.