function ctools_export_crud_new


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 ctools_export_crud_new($table, $set_defaults = TRUE)
cle7 ctools_export_crud_new($table, $set_defaults = TRUE)
elmsmedia7 ctools_export_crud_new($table, $set_defaults = TRUE)
icor7 ctools_export_crud_new($table, $set_defaults = TRUE)
meedjum_blog7 ctools_export_crud_new($table, $set_defaults = TRUE)
mooc7 ctools_export_crud_new($table, $set_defaults = TRUE)

Create a new object for the given $table.


$table: The name of the table to use to retrieve $schema values. This table must have an 'export' section containing data or this function will fail.

$set_defaults: If TRUE, which is the default, then default values will be retrieved from schema fields and set on the object.

Return value

The loaded object.

Related topics

6 calls to ctools_export_crud_new()
ctools_custom_content_type_edit_form_submit in sites/all/modules/ulmus/ctools/plugins/content_types/custom/
The submit form stores the data in $conf.
ctools_custom_content_type_get_conf in sites/all/modules/ulmus/ctools/plugins/content_types/custom/
Given a subtype and a $conf, return the actual settings to use.
ctools_export_ui::add_page in sites/all/modules/ulmus/ctools/plugins/export_ui/ctools_export_ui.class.php
ctools_export_ui::import_page in sites/all/modules/ulmus/ctools/plugins/export_ui/ctools_export_ui.class.php
Page callback to import information for an exportable item.
feeds_tamper_new_instance in sites/all/modules/ulmus/feeds_tamper/
Create a new plugin instance with default values filled in.

... See full list


sites/all/modules/ulmus/ctools/includes/, line 47
Contains code to make it easier to have exportable objects.


function ctools_export_crud_new($table, $set_defaults = TRUE) {
  $schema = ctools_export_get_schema($table);
  $export = $schema['export'];

  if (!empty($export['create callback']) && function_exists($export['create callback'])) {
    return $export['create callback']($set_defaults);
  else {
    return ctools_export_new_object($table, $set_defaults);



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.