CRUD functions for export.

  1. nittany7 modules/contrib/ctools/includes/export.inc export_crud
  2. cis7 modules/contrib/ctools/includes/export.inc export_crud
  3. mooc7 modules/contrib/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

Namesort descending Location Description
ctools_export_crud_delete modules/contrib/ctools/includes/export.inc Delete a single exportable object.
ctools_export_crud_disable modules/contrib/ctools/includes/export.inc Disable a certain object.
ctools_export_crud_enable modules/contrib/ctools/includes/export.inc Enable a certain object.
ctools_export_crud_export modules/contrib/ctools/includes/export.inc Get the exported code of a single exportable object.
ctools_export_crud_import modules/contrib/ctools/includes/export.inc Turn exported code into an object.
ctools_export_crud_load modules/contrib/ctools/includes/export.inc Load a single exportable object.
ctools_export_crud_load_all modules/contrib/ctools/includes/export.inc Load all exportable objects of a given type.
ctools_export_crud_load_multiple modules/contrib/ctools/includes/export.inc Load multiple exportable objects.
ctools_export_crud_new modules/contrib/ctools/includes/export.inc Create a new object for the given $table.
ctools_export_crud_save modules/contrib/ctools/includes/export.inc Save a single exportable object.
ctools_export_crud_set_status modules/contrib/ctools/includes/export.inc Change the status of a certain object.

File

modules/contrib/ctools/includes/export.inc, line 20
Contains code to make it easier to have exportable objects.