How Access Into Fields After Join?

hi

how access into fields after join??


 $a=  User::model()->with('tels')->findAll("tels.acc=:a",array(':a'=>'0'));


               foreach($a as $<img src='http://www.yiiframework.com/forum/public/style_emoticons/default/cool.gif' class='bbc_emoticon' alt='B)' />

               {

                   //echo $b;

                 

               }

$b is showing property of User, no Tel!!

thank you

hi

i’m finding:




echo $b->tels['0']['tel'];



tel is field name