Containable enhancement #113

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@adael
adael commented Jun 3, 2011

Suppose you have a component that 'listen' for some named param and if received you need to add a binding to the next model find call, through containable, and later, in the controller you also need to do other bindings to the same next model find call, but respecting the previous component binding.

As contain() have multiple parameters (func_get_args()) we need to create other method, i think this one can be good.

Hope it helps.
Please review the documentation because my english it's not good enough.

@adael adael Suppose you have a component that 'listen' for some named param and i…
…f received you need to add a binding to the next model find call, through containable, and later, in the controller you also need to do other bindings to the same next model find call, but respecting the previous component binding. As contain() have multiple parameters (func_get_args()) we need to create other method, i think this one can be good.

Hope it helps. Please review the documentation because my english it's not soo good.
92f0869
@lorenzo
Member
lorenzo commented Oct 14, 2011

I see value in this enhancement, perhaps for cake 2.1?

@markstory
Member

Closing as this patch no longer applies and lacks tests. Feel free to resubmit if you still want to see it. :)

@markstory markstory closed this Nov 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment