Looking at the class reference for 1.1 at the findAll() method. The documentation claims that the method returns an array. I then return the results of findAll() to a custom function and load the function as part of the data of activeDropDownList(). Now I get an error and I know why I get the error. Because findAll() returned an Object. Why is the documentation claiming that findAll() returns an array. Am I missing anything or misunderstanding anyting?
Right, just to clarify: findAll() returns an array of objects. CHtml::listData() returns an associative value=>text array (or an array of such arrays if $groupField is set). dropDownList doesn’t know what to do with an array of objects. So, the documentation is correct