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_Core_Field_Supports_AddRemove implements Jelly_Field_Supports_Save
Direct known implementersJelly_Field_Supports_AddRemove
Indirect known implementersJelly_Core_Field_HasMany, Jelly_Core_Field_ManyToMany, Jelly_Field_HasMany, Jelly_Field_ManyToMany
Copyright: (c) 2010-2011 Jonathan Geiger
Author: Jonathan Geiger
Located at jelly/core/field/supports/addremove.php