title: Yii framework to create action for new admin page
body: <p>How can I add a button and write the own action code for it in yii framework while I'm creating an admin page ?
  The code I have in my view file is:</p>
  
  <pre><code>&lt;?php echo CHtml::beginForm('Protected/GreetingsController/actionSubmit','get');?&gt;
  &lt;?php echo CHtml::submitButton('submit',array('SiteController'=&gt;'actionIndex'));?&gt;
  &lt;?php echo CHtml::endForm(); ?&gt;
  </code></pre>