| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: menu_attributes.install,v 1.4 2009/04/21 21:43:42 schoonzie Exp $ 3 4 /** 5 * @file 6 * Provides the install, update, and uninstall functions for the Menu Attributes module 7 */ 8 9 /** 10 * Implementation of hook_install(). 11 */ 12 function menu_attributes_install() { 13 db_query("UPDATE {system} SET weight = 10 WHERE name = 'menu_attributes'"); 14 } 15 16 function menu_attributes_update_1() { 17 $ret = array(); 18 db_query("UPDATE {system} SET weight = 10 WHERE name = 'menu_attributes'"); 19 return $ret; 20 } 21 22 /** 23 * Implementation of hook_uninstall(). 24 */ 25 function menu_attributes_uninstall() { 26 variable_del('menu_attributes_id_enable'); 27 variable_del('menu_attributes_name_enable'); 28 variable_del('menu_attributes_name_default'); 29 variable_del('menu_attributes_target_enable'); 30 variable_del('menu_attributes_target_default'); 31 variable_del('menu_attributes_rel_enable'); 32 variable_del('menu_attributes_rel_default'); 33 variable_del('menu_attributes_class_enable'); 34 variable_del('menu_attributes_class_default'); 35 variable_del('menu_attributes_style_enable'); 36 variable_del('menu_attributes_style_default'); 37 variable_del('menu_attributes_accesskey_enable'); 38 variable_del('menu_attributes_accesskey_default'); 39 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |