Full ELMS Learning Network documentation
CRUD functions for export.
- cis7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
- cle7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
- elmsmedia7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
- icor7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
- meedjum_blog7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
- mooc7 sites/all/modules/ulmus/ctools/includes/export.inc export_crud
export.inc supports a small number of CRUD functions that should always work for every exportable object, no matter how complicated. These functions allow complex objects to provide their own callbacks, but in most cases, the default callbacks will be used.
Note that defaults are NOT set in the $schema because it is presumed that a module's personalized CRUD functions will already know which $table to use and not want to clutter up the arguments with it.
Functions
Name![]() |
Location | Description |
---|---|---|
ctools_export_crud_delete |
sites/ |
Delete a single exportable object. |
ctools_export_crud_disable |
sites/ |
Disable a certain object. |
ctools_export_crud_enable |
sites/ |
Enable a certain object. |
ctools_export_crud_export |
sites/ |
Get the exported code of a single exportable object. |
ctools_export_crud_import |
sites/ |
Turn exported code into an object. |
ctools_export_crud_load |
sites/ |
Load a single exportable object. |
ctools_export_crud_load_all |
sites/ |
Load all exportable objects of a given type. |
ctools_export_crud_load_multiple |
sites/ |
Load multiple exportable objects. |
ctools_export_crud_new |
sites/ |
Create a new object for the given $table. |
ctools_export_crud_save |
sites/ |
Save a single exportable object. |
ctools_export_crud_set_status |
sites/ |
Change the status of a certain object. |
File
- sites/
all/ modules/ ulmus/ ctools/ includes/ export.inc, line 20 - Contains code to make it easier to have exportable objects.