You are here

function sweaver_export_sweaver_object in Sweaver 6

Same name and namespace in other branches
  1. 7 sweaver.module \sweaver_export_sweaver_object()

CTools object export function.

4 calls to sweaver_export_sweaver_object()
sweaver_export_sweaver_property in ./sweaver.module
CTools property export function.
sweaver_export_sweaver_selector in ./sweaver.module
CTools selector export function.
sweaver_export_sweaver_type in ./sweaver.module
CTools property export function.
sweaver_object_export in plugins/sweaver_plugin_editor/sweaver_plugin_editor.admin.inc
Export an object.

File

./sweaver.module, line 181
Sweaver functions.

Code

function sweaver_export_sweaver_object($object, $object_type) {
  ctools_include('export');
  sweaver_export_check_serialized_keys($object);
  $output = ctools_export_object('sweaver_' . $object_type, $object, '  ');
  return $output;
}