hello guys, i trying to send an post method using chtml link to my controller which is event, how does my method actiondelete receive the POST message?
view:
CHtml::link("<span class=‘glyphicon glyphicon-remove’></a></span>",‘event/delete’,array(
'submit' => array('event/delete'),
'params' => array('id' => $data->ID),
'csrf' => true));
event controller
$_POST[‘id’];