I want to put the content of a CActiveDataProvider in the footer of my view/layout/Main.php file.
Can anybody tell me where to create CActiveDataProvider Object since it doesn’t depend on any special controller or do I have to create the CActiveDataProvider Object in the view itself?