How do I show string directly

When I get request, I want to show plain text directly, what shoul I do?

Thanks

Perhaps renderText()

http://www.yiiframework.com/doc/api/CController#renderText-detail

/Tommy

Thanks, But the result add header and footer, and I want to show plain text only. what’s about other solution?

Thanks again ^^

I mean that I show plain text only, not with view layout, like that

<?php

echo ‘hello’;

?>

and It will show hello only.


$this->layout=false;

echo 'hello';

Yii::app()->end();

Thank you, it’s OK.

^^