#5953: Model::save should allow for specifying a "blacklist" of fieldnames.
-------------------------------------------+--------------------------------
Reporter: NOSLOW | Type: Enhancement
Status: new | Priority: Low
Milestone: 1.3.x.x | Component: Model
Version: | Severity: Minor
Keywords: Save, Whitelist, Blacklist | Php_version: n/a
Cake_version: |
-------------------------------------------+--------------------------------
Current ''fieldList'' parameter for Model::save acts as a "whitelist".
Sometimes you just want to "blacklist" a single field in a large table.
Listing all the fields in the schema and keeping up the "whitelist" during
development as new fields are added can be a bit awkward.
[[BR]]
[[BR]]
An alternative solution would be to just create a "blacklistable" model
behavior.
--
Ticket URL: <https://trac.cakephp.org/ticket/5953>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---