Page is a not externally linkable
astupidname - 7:33 am on Aug 26, 2010 (gmt 0)
A quick consult of the documentation [concrete5.xross-cube.com...] reveals the methods available within a SelectAttributeTypeOptionList Object, which is what $surroundings is. So it would appear you could do something like:
for ($i = 0, $len = $surroundings->count(); $i < $len; $i++) {
$sato = $surroundings->get($i); //a SelectAttributeTypeOption Object (thus the s a t o)
echo 'id = '.$sato->ID.', value = '.$sato->value.', displayOrder = '.$sato->displayOrder.'<br>';
}