title: How to use Yii variable in extjs
body: <p>I want to use the <code>Yii::app()</code> variable in <code>ExtJs</code> like below:</p>
  
  <pre><code>Ext.create('Ext.Toolbar',{
      region:'north',
      contentEl:'northPart',
      height:32,
      items:[
        {
          text:'&lt;?php echo Yii::app()-&gt;name ?&gt;',
          iconCls:'bmenu'
        }
      ]
  });
  </code></pre>
  
  <p>But it is not working.<br>
  How to achieve that?</p>