I\'m trying to get the twelve ids that this structure shows:
stdClass Object ( [checkins] => stdClass Object ( [count] => 12
Here is a simple solution to convert a stdClass Object in array in php with function get_object_vars
get_object_vars
Look at : http://php.net/manual/fr/function.get-object-vars.php
Ex :
debug($array); $var = get_object_vars($array); debug($var);
Or replace debug by print_r
debug
print_r
I'm use CakePHP framework
Cdt