Version

1.301.2.85 (checked in on 2008/11/10 at 15:56:35 by yched)

Description

Allows administrators to associate custom fields to content types.

Constants

Namesort iconDescription
CONTENT_CALLBACK_CUSTOM
CONTENT_CALLBACK_DEFAULT
CONTENT_CALLBACK_NONE
CONTENT_DB_STORAGE_PER_CONTENT_TYPE
CONTENT_DB_STORAGE_PER_FIELD
CONTENT_HANDLE_CORE
CONTENT_HANDLE_MODULE

Functions

Namesort iconDescription
content_add_more_submit_proxyProxy function to call content_add_more_submit(), because it might not be included yet when the form is processed and invokes the callback.
content_allowed_valuesCreate an array of the allowed values for this field.
content_alterImplementation of hook_nodeapi 'alter' op.
content_associate_fieldsAllows a module to update the database for fields and columns it controls.
content_build_modesRegistry of available node build modes.
content_cache_tablenameGenerate table name for the content cache table.
content_callbackHelper function for determining the behavior of a field or a widget with respect to a given operation. (currently used for field 'view', and widget 'default values' and 'multiple values')
content_clear_type_cacheClear the cache of content_types; called in several places when content information is changed.
content_content_extra_fieldsImplementation of hook_content_extra_fields.
content_content_fieldapiDebugging using hook_content_fieldapi.
content_database_infoRetrieve the database storage location(s) for a field.
content_default_valueHelper function to return the correct default value for a field.
content_deleteImplementation of hook_nodeapi 'delete' op.
content_delete_revisionImplementation of hook_nodeapi 'delete_revision' op.
content_elementsHook elements().
content_extra_field_weightRetrieve the user-defined weight for non-CCK node 'fields'.
content_fieldImplementation of hook_field(). Handles common field housekeeping.
content_fieldsReturn a list of all fields.
content_field_tablenameGenerate table name for the content field table.
content_field_wrapper_post_renderHide specified fields from the $content variable in node templates.
content_filter_xssLike filter_xss_admin(), but with a shorter list of allowed tags.
content_flush_cachesImplementation of hook_flush_caches.
content_formatFormat a field item for display.
content_form_alterImplementation of hook_form_alter().
content_handleHelper function for determining the handling of a field, widget or formatter with respect to a given operation.
content_help
content_inactive_fieldsHelper function to identify inactive fields.
content_initImplementation of hook_init().
content_insertImplementation of hook_nodeapi 'insert' op.
content_instance_tablenameGenerate table name for the content field instance table.
content_loadLoad data for a node type's fields. Implementation of hook_nodeapi 'load' op.
content_max_deltaFind max delta value actually in use for a field.
content_menuImplementation of hook_menu().
content_menu_alterImplementation of hook_menu_alter().
content_nodeapiImplementation of hook_nodeapi().
content_node_typeImplementation of hook_node_type() React to change in node types
content_notifyModules notify Content module when uninstalled, disabled, etc.
content_permImplementation of hook_perm().
content_prepare_translationImplementation of hook_nodeapi 'prepare translation' op.
content_preprocess_content_fieldTheme preprocess function for field.tpl.php.
content_preprocess_nodeTheme preprocess function for node.
content_presaveImplementation of hook_nodeapi 'presave' op.
content_set_emptyHelper function to filter out empty values.
content_storageHandle storage ops for _content_field_invoke_default().
content_storage_typeHelper function for identifying the storage type for a field.
content_table_schemaA basic schema used by all field and type tables.
content_themeImplementation of hook_theme().
content_transpose_array_rows_colsManipulate a 2D array to reverse rows and columns.
content_typesReturn a list of all content types.
content_updateImplementation of hook_nodeapi 'update' op.
content_validateImplementation of hook_nodeapi 'validate' op.
content_viewImplementation of hook_nodeapi 'view' op.
content_views_apiImplementation of hook_views_api().
content_view_fieldRender a single field, fully themed with label and multiple values.
content_write_recordSave a record to the database based upon the schema.
node_content_build_modesImplementations of hook_content_build_modes on behalf of core modules.
search_content_build_modes
theme_content_exclude'Theme' function for a field's addition to $content.
theme_content_multiple_valuesTheme an individual form element.
_content_field_invokeInvoke a field hook.
_content_field_invoke_defaultInvoke content.module's version of a field hook.
_content_field_typesReturn a list of field types.
_content_filter_xss_allowed_tagsList of tags allowed by content_filter_xss().
_content_filter_xss_display_allowed_tagsHuman-readable list of allowed tags, for display in help texts.
_content_get_formatterReturn the formatter description corresponding to a formatter name, defaulting to 'default' if none is found.
_content_sort_itemsHelper function to sort items in a field according to user drag-n-drop reordering.
_content_sort_items_helperSort function for items order. (copied form element_sort(), which acts on #weight keys)
_content_sort_items_value_helperSame as above, using ['_weight']['#value']
_content_tablenameGenerate a table name for a field or a content type.
_content_type_infoCollate all information on content types, fields, and related structures.
_content_widget_typesReturn a list of widget types.