qcubed/framework — pull request #506 by spekary (2014-10-09 21:23:29+00:00)
Title: bugfix-serializingFormObj

Adds methods to allow controls to handle serializing and deserializing of formobj references. This is particularly important when using the `array($formObj, 'method')` way of defining a callback. The bug was that a copy of the form would be recreated in these controls, and that copy would not be referenced to the main form after deserialization.

The QForm engine already handled this problem for the `$objForm` reference in every QControl, but it didn't extend to other form references. Also, when that was written, the `array($formObj, 'method')` thing didn't exist.

Also, added the ability to use that method for defining the callback in a data binder.