Schemaless behavior.
Adds functionality specific to MongoDB/schemaless dbs Allow /not/ specifying the model's schema, and derive it (for cake-compatibility) from the data being saved. Note that used carelessly this is a pretty dangerous thing to allow - means a user can modify input forms adding whatever fields they like (unless you'er using the security component) and fill your db with their junk.
PHP version 5
Copyright (c) 2010, Andy Dawson
Licensed under The MIT License Redistributions of files must retain the above copyright notice.
Class | Description |
---|---|
SchemalessBehavior | SchemalessBehavior class |
Documentation generated on Tue, 26 Jul 2011 01:09:01 +0900 by phpDocumentor 1.4.3