You are here

function cck_serialized_settings in Content Construction Kit (CCK) 7.3

We store all settings in a flat text field, but some settings will be arrays that need to be serialized and unserialized, like the default_value.

2 calls to cck_serialized_settings()
cck_field_get_setting in ./cck.module
Helper function to retrieve field settings stored by CCK.
cck_field_set_setting in ./cck.module
Helper function to set field settings stored by CCK.

File

./cck.module, line 199
Allows administrators to use php code snippets to define allowed values or default values. The snippets are stored in a database table and retrieved in callback functions.

Code

function cck_serialized_settings() {
  return array(
    'default_value',
  );
}