User and its behaviors do not have a method or closure named "tableName"
My code in the controller class is very easy:
$dataProvider = new CActiveDataProvider('User');
With User being my model class.
Since the EmongoDocument class doesn't implement all the methods implemented by CActiveRecord, this error is normal, but I've read somewhere that I can use CActiveDataProvider with YiiMongoDBSuite.
Am I doing something wrong?
Is there a way to get zii widgets that require a DataProvider to work? How?
Thanks for your time,
Riccardo