October 14th, 2013, 01:56 PM
How to access 'VerificationStatus' in this PHP object?
Hi guys I need to get the VerificationStatus from this PHP object, does anyone know how I should do this?
Hope you can help!
[data:protected] => Array
[VerificationAttributes] => Array
[firstname.lastname@example.org] => Array
[VerificationStatus] => Success
[ResponseMetadata] => Array
[RequestId] => csdgdf62-fdsg-dfgdf-23-bf91f933ab69
Last edited by ManiacDan; October 14th, 2013 at 03:10 PM.
Reason: added tags
October 14th, 2013, 03:11 PM
"data" is a protected variable, so you can't get it out without having a getter function or being inside the object.
If you're inside the object, it would be:
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.
October 14th, 2013, 03:46 PM