| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 621 lines (24 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| content_requirements($phase) X-Ref |
| No description |
| content_types_install() X-Ref |
| 'Safe' version of content_types() to use in updates and installs. Can't safely use content_fields() or content_types() in an update to get a fields array, especially without knowing what field modules are enabled, or the current state of the database and cache, so create a fields array from database info that is limited to fields from modules that are currently enabled. |
| content_install() X-Ref |
| Implementation of hook_install(). |
| content_uninstall() X-Ref |
| Implementation of hook_uninstall(). |
| content_enable() X-Ref |
| Implementation of hook_enable(). |
| content_disable() X-Ref |
| Implementation of hook_disable(). |
| content_schema() X-Ref |
| Implementation of hook_schema. |
| content_update_last_removed() X-Ref |
| No description |
| content_check_update($module = NULL) X-Ref |
| Helper function for module updates : - checks no updates are pending for content.module - checks content module and the module being updated are both enabled. param: $module |
| content_update_6000() X-Ref |
| Add module name to fields table to make it easier to identify the fields to delete when a module is uninstalled. Needed because the value drops out of content_info() when module is disabled, so there is no other way to find the associated fields. |
| content_update_6001() X-Ref |
| Rename node_field and node_field_instance tables. This is a carryover from when the data tables were renamed, postponed so we wouldn't create any more havoc than necessary until a major version change. Using 'content_node_field' instead of 'content_field' to avoid conflicts with field tables that will be prefixed with 'content_field'. |
| content_update_6002() X-Ref |
| Get rid of automatic per content tables for content types that have no fields. Switching to adding those tables only when needed. |
| content_update_6003() X-Ref |
| 'db_columns' column 1st got introduced as 'columns', which is forbidden in MySQL 4. This update function will only be useful for early D6 testers... |
| content_update_6004(&$sandbox) X-Ref |
| Index the 'nid' column on data tables to optimize node deletion. Large tables might deserve a multipass update. |
| content_update_6005() X-Ref |
| Add 'locked' property for fields. |
| content_update_6006() X-Ref |
| Make sure the 'locked' column is NOT NULL (error in previous content_update_6005(). |
| content_update_6007() X-Ref |
| Dummy update function to make sure the theme registry and css / JS aggregated files are updated. |
| content_update_6008() X-Ref |
| Dummy update function to make sure schema version gets updated. |
| content_update_6009() X-Ref |
| Add the 'exclude from $content' display setting to all existing field instances. |
| content_update_6010(&$sandbox) X-Ref |
| Fix multiple serialization caused by per-field to per-type migration. See http://drupal.org/node/407446. |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |