drupal_get_schema

Related topics

Namesort iconDescription
Input validationFunctions to validate user input.
Schema APIA Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file.

Functions that call drupal_get_schema()

Namesort iconLocationDescription
drupal_schema_fields_sqldrupal/includes/common.incRetrieve a list of fields from a table schema. The list is suitable for use in a SQL query.
drupal_write_recorddrupal/includes/common.incSave a record to the database based upon the schema.
profile_field_form_validatedrupal/modules/profile/profile.admin.incValidate profile_field_form submissions.
user_savedrupal/modules/user/user.moduleSave changes to a user account or add a new user.

Functions called by drupal_get_schema()

Namesort iconLocationDescription
cache_getdrupal/includes/cache.incReturn data from the persistent cache. Data may be stored as either plain text or as serialized data. cache_get will automatically return unserialized objects and arrays.
cache_setdrupal/includes/cache.incStore data in the persistent cache.
drupal_alterdrupal/includes/common.incHands off structured Drupal arrays to type-specific *_alter implementations.
drupal_function_existsdrupal/includes/bootstrap.incConfirm that a function is available.
drupal_get_bootstrap_phasedrupal/includes/bootstrap.incReturn the current bootstrap phase for this Drupal process. The current phase is the one most recently completed by drupal_bootstrap().
module_implementsdrupal/includes/module.incDetermine which modules are implementing a hook.
module_invokedrupal/includes/module.incInvoke a hook in a particular module.
module_listdrupal/includes/module.incCollect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
module_load_all_includesdrupal/includes/module.incLoad an include file for each of the modules that have been enabled in the system table.
_drupal_initialize_schemadrupal/includes/common.incFill in required default values for table definitions returned by hook_schema().