Ejemplo n.º 1
0
 public function onDeleting(model_editor $editor, model $item, model_editor_field $field)
 {
     $datasource = $editor->source();
     $existing = $this->_getSelectorOfExisting();
     // 1) drop all previously existing bindings
     $this->_unbindSelected($datasource, $existing);
 }