Controller::cleanUpFields() deprecated as of 1.2.0.5970

142 views
Skip to first unread message

chad

unread,
Nov 9, 2007, 4:54:09 PM11/9/07
to CakePHP Bleeding Edge
Just noticed that Controller::cleanUpFields() is deprecated as of
1.2.0.5970. Looks like Model::deconstruct() takes its place.

>From the docblock: * Deconstructs a complex data type (array or
object) into a single field value

cleanUpFields() wasn't something I had used very often, but it was
still lingering around in any baked controller methods I hadn't
modified.

It looks like Model::set() automatically calls Model::deconstruct()

Reply all
Reply to author
Forward
0 new messages