On Jul 27, 8:46 am, AD7six <[EMAIL PROTECTED]> wrote:
> Anyway, hth,
>
> AD
It's probably clear enough (?) but here's some example controller
code, which will only be relevant with the code from the previous
message:
function add () {
$this->MyModel->enableFoo(false); // I don't want the foo behavior
active for this method
.....
}
function edit () {
// Like normal please.
....
}
function funkedUp () {
... stuff
$this->MyModel->enableFoo(false); // I don't want the foo behavior
active now
... more stuff
$this->MyModel->enableFoo(true); // Foo redux
... even more stuff
}
cheers,
AD
.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---