My dataprovider:
$dataProvider = new CActiveDataProvider('Record', array(
'criteria' => array(
'condition' => 'example1= :example1 AND example2= :example2',
'params' => array(':example1' => $example1,
':example2'=> $example2,
),
),
'sort'=>array(
'defaultOrder'=>'time ASC',
)
)
);
How to set the params pdo tpye? E.g. string, number …