/array_datasource

A CakePHP datasource to use with static values in models, can be associated with models that use the database.

Primary LanguagePHP

Array Datasource

Array Datasource is a datasource to CakePHP that you can use static content as model and interact with your models that use DBO.

Exemple: CakePHP dont support enumerations, but with this datasource you can put your values and texts in a model and associate (belongsTo / hasMany / ...). Also, you can generate a list of states in a model, avoiding create a table or write various selects with this.

To more informations, see the wiki.

License

Licensed under The MIT License (http://www.opensource.org/licenses/mit-license.php)