| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 903 lines (30 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| schema_phpprint($schema) X-Ref |
| Builds a pretty ASCII-formatted version of a $schema array. This is nothing more than a specialized variation of var_dump and similar functions and is used only as a convenience to generate the PHP for existing database tables (to bootstrap support for modules that previously used CREATE TABLE explicitly) and for debugging. |
| schema_phpprint_table($name, $table) X-Ref |
| No description |
| schema_phpprint_column($col, $multiline=FALSE) X-Ref |
| No description |
| schema_phpprint_key($keys) X-Ref |
| No description |
| schema_unprefix_table($name) X-Ref |
| No description |
| schema_invoke($op) X-Ref |
| No description |
| schema_engine_invoke($engine, $op) X-Ref |
| No description |
| schema_engine_type($col, $table, $field, $engine = NULL) X-Ref |
| Converts a column's Schema type into an engine-specific data type. |
| schema_schema_type($type, $table, $field, $engine = NULL) X-Ref |
| Convert an engine-specific data type into a Schema type. |
| schema_compare_schemas($ref, $inspect = NULL) X-Ref |
| Compares two complete schemas. param: $ref is considered the reference copy param: $inspect is compared against it. If $inspect is NULL, a |
| schema_compare_table($ref, $inspect = NULL) X-Ref |
| Compares a reference specification (such as one returned by a module's hook_schema) to an inspected specification from the database. param: $inspect if not provided, the database is inspected. |
| schema_init() X-Ref |
| Implementation of hook_init(). Perform setup tasks. |
| schema_require() X-Ref |
| No description |
| schema_perm() X-Ref |
| Implementation of hook_perm(). |
| schema_menu() X-Ref |
| Implementation of hook_menu(). Define menu items and page callbacks. admin/build/schema calls local task(default): schema_report() admin/build/schema/report calls local task: schema_report() admin/build/schema/describe calls local task: schema_describe() admin/build/schema/inspect calls local task: schema_inspect() admin/build/schema/sql calls local task: schema_sql() admin/build/schema/show calls local task: schema_show() |
| _schema_process_description($desc) X-Ref |
| No description |
| schema_describe() X-Ref |
| "Describe" menu callback. |
| schema_report() X-Ref |
| "Report" menu callback. This function just massages the data returned by schema_compare_schemas() into HTML. |
| schema_inspect() X-Ref |
| "Inspect" menu callback. |
| schema_sql($engine = NULL) X-Ref |
| "SQL" menu callback. |
| schema_show() X-Ref |
| "Show" menu callback. Displays drupal schema as php code, so you can reuse it as you need. |
| schema_settings() X-Ref |
| No description |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |