CActiveRecord FindAll and column name

Hi,

I would like to predefine the name of the column in my query like using a SELECT name AS name_alias FROM table;

How to do this with the framework, because when I do:


$c = new CDCriteria;

$c->select = 'name AS name_alias';

$res = Table::model->findAll($c);

foreach($res as $row) {

var_dump($row->attributes);

}

The var_dump will show me the original column name. How to change this, to have some alias?