#5686: unbindModel without any arguments should unbind all models.
-----------------------------------+----------------------------------------
Reporter: mustan9 | Type: Enhancement
Status: new | Priority: Medium
Milestone: 1.2.x.x | Component: Model
Version: RC3 | Severity: Normal
Keywords: unbindModel, Model | Php_version: PHP 5
Cake_version: 1.2.0.7692 |
-----------------------------------+----------------------------------------
This would be a very handy enhancement, because I find myself always
needing to change bindings on the fly.
Right now you have to call unbindModel and supply which models to unbind,
but if you simply want to unbind all models. You have to list them all,
and if you add a new binding then you have to remember to update the list
of arguments to unbindModel.
It would be nice if you called unbindModel without any arguments, then it
would just unbind everything.
--
Ticket URL: <https://trac.cakephp.org/ticket/5686>
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
-~----------~----~----~----~------~----~------~--~---