render variable to its inner renderpartial

for example :

this is my controller :


    ...


    


    $who ='my name';





    $this->render('profile',array('who'=>$who);


     


   ...





and the view of profile.php 's code is as the following :


       .... 





      <?php $this->renderpartial('left');?>





    ....





 left.php  exists variable $who,that is the variable of $who is in the page of left.php





my question is :when i do it as the above , $who don't   appears(my name)  ,how should i do 

any help be appreciated!!!

Pass on the array:


<?php $this->renderpartial('left', array('who => $who));?>

it is too quickly,thank you, but is it the only one way