CRUD functions for export.

  1. 7.x ctools/includes/ export_crud
  2. 6.x ctools/includes/ export_crud 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.


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


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