I was having trouble creating a Model which is tableless (useTable = false). I found the following article that helped me figure things out: http://aaronthies.com/wp/2008/01/31/cakephp-schema-and-tableless-models/
It would be nice to complete the documentation on _schema with an example of creating a schema for a tableless Model. At the very least, this doc should say that _schema should be of type array, without developpers having to go to the source code model.php to figure it out.
By campem on 24/9/08
1 - Tableless Models and schema
I was having trouble creating a Model which is tableless (useTable = false). I found the following article that helped me figure things out: http://aaronthies.com/wp/2008/01/31/cakephp-schema-and-tableless-models/
It would be nice to complete the documentation on _schema with an example of creating a schema for a tableless Model. At the very least, this doc should say that _schema should be of type array, without developpers having to go to the source code model.php to figure it out.