Declares a field that can have individual records add()ed or remove()ed from it
This interface does not require any methods to be declared, but rather acts as a flag for the model so that it knows the field supports this feature.
In general, relationships that are not 1:1 but are 1:many or many:many should implement this interface. This means that in the field's set() method, it should expect to handle a multitude of values, including:
- A primary key
- Another Jelly model
- An iterable collection of primary keys or Jelly models, such as an array or Database_Result
And in its save() method, it should expect an array of primary keys.
- Jelly_Field_Supports_AddRemove implements Jelly_Core_Field_Supports_AddRemove
Copyright: (c) 2010-2011 Jonathan Geiger
Author: Jonathan Geiger
Located at jelly/field/supports/addremove.php