I’m new to yii programming. I can’t find a way for my CHtml::submitButton to call a function located in the controller.php file. Here’s a sample of the code of my submitbutton.
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'action'=>array('abc/def'), // where abc is controller and def is action
...
...