If the problem is that you are no able to get the check boxes then try this
Update
In your _form.php
<div>
<?php echo CHtml::checkBoxList('createCheck', array(), $variable); ?>
</div>
you need to change your controller action for that
public function actionCreate()
{
$model=new Parametro;
$variable = file_get_contents('protected\column.txt');
$vars = explode(' ', $variable);
// make SURE that you are getting $vars as array
if(isset($_POST['Parametro']))
{
$model->attributes=$_POST['Parametro'];
if(isset($_POST['createCheck']))
{
$newVar=array();
$checkVariables=$_POST['createCheck'];
foreach($checkVariables as $key)
{
$newVar[]=$vars[$key];
}
if(!empty($newVar))
{
foreach($newVar as $saveIt)
{
$model->$saveIt='y';
}
$model->save();
}
}
$this->redirect(array('view','id'=>$model->id));
}
$this->render('create',array(
'model'=>$model,
'variable'=>$vars,
));
}
Note:- it might throw you some errors as i do not know your table structure. If you get any problem try to solve it or just ask