Logo Search packages:      
Sourcecode: zope-atseng version File versions  Download package

def ATSchemaEditorNG::SchemaEditor::SchemaEditor::atse_registerStorage (   self,
  storage_id,
  storage,
  kw 
)

add a new storage to the set of registered storages; supported
keyword arguments:

- visible: whether or not to include the storage in the schema editor

- post_macro: path to a macro that will be injected at the end of the
      field edit form
      
- post_method: method to call method(fieldName , storage_data) 
       storage_data contains all storage_data.* fields.

Definition at line 653 of file SchemaEditor.py.

00653                                                              :
        """add a new storage to the set of registered storages; supported
        keyword arguments:

        - visible: whether or not to include the storage in the schema editor

        - post_macro: path to a macro that will be injected at the end of the
                      field edit form
                      
        - post_method: method to call method(fieldName , storage_data) 
                       storage_data contains all storage_data.* fields."""
                      
        self._initRegistries()
        kw['storage'] = storage
        self._storage_registry[storage_id] = kw
        self._p_changed = 1 # mutation might not trigger db write
            
    ######################################################################


Generated by  Doxygen 1.6.0   Back to index