I am studying the framework and have some questions about the ORM.
The CActiveRecord is an object representation of a database table (as far as I understood). Is there any representation of a resultset (rowset) ? Is it possible to apply business logic on result objects by fetching, like extending Zend_Db_Table_Row_Abstract for example ?
Does the framework provide methods to fetch native SQL into objects, like Doctrine for example.
I should have read these tutorials more thoroughly before asking questions. The answer of my first question should be afterConstruct and afterFind methods. But I didn't understand how should I transform raw SQL query into AR objects ? Is there any automated logic, or that is my responsibility ?