| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Implementation of hook_install(). 5 */ 6 function data_ui_test_install() { 7 drupal_install_schema('data_ui_test'); 8 } 9 10 /** 11 * Implementation of hook_schema(). 12 */ 13 function data_ui_test_schema() { 14 // Pull defaults and expose schema to Drupal. 15 drupal_load('module', 'data_ui_test'); 16 $data_tables = data_ui_test_data_default(); 17 $schema = array(); 18 foreach ($data_tables as $name => $table) { 19 $schema[$name] = $table->table_schema; 20 } 21 return $schema; 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |