protected property

The data object or list of data objects to which the current form is bound. In order to be a custom data object, a class must implement the following methods:

  • schema(): Returns an array defining the objects fields and their data types.
  • data(): Returns an associative array of the data that this object represents.
  • errors(): Returns an associate array of validation errors for the current data set, where the keys match keys from schema(), and the values are either strings (in cases where a field only has one error) or an array (in case of multiple errors),

For an example of how to implement these methods, see the lithium\data\Entity object.


	protected $_binding = null;