[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/nice_menus/ -> nice_menus.module (summary)

(no description)

File Size: 386 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  nice_menus_help()
  nice_menus_form_alter()
  nice_menus_system_theme_settings_submit()
  nice_menus_menu()
  nice_menus_admin_settings()
  nice_menus_settings_validate()
  nice_menus_block()
  nice_menus_theme()
  nice_menus_init()
  theme_nice_menu_tree()
  theme_nice_menu_build()
  theme_nice_menu()
  theme_nice_menu_primary_links()

Functions
Functions that are not part of a class:

nice_menus_help($path, $arg)   X-Ref
Implementation of hook_help().


nice_menus_form_alter(&$form, $form_state, $form_id)   X-Ref
Implementation of hook_form_alter().


nice_menus_system_theme_settings_submit($form, &$form_state)   X-Ref
Records the nice menu custom CSS file per theme.


nice_menus_menu()   X-Ref
Implemention of hook_menu().


nice_menus_admin_settings()   X-Ref
Settings form as implemented by hook_menu


nice_menus_settings_validate($form, &$form_state)   X-Ref
Custom validation for the settings form.


nice_menus_block($op = 'list', $delta = 0, $edit = array()   X-Ref
Implementation of hook_block().


nice_menus_theme()   X-Ref
Implmentation of hook_theme().


nice_menus_init()   X-Ref
Implementation of hook_init().

We are adding the JavaScript and CSS here rather than theme_nice_menu
because when block caching is enabled none of it would get fired
and the menus are unstyled.

theme_nice_menu_tree($menu_name, $mlid = NULL, $menu = NULL)   X-Ref
Builds the final nice menu.

param: $menu_name
param: $mlid
param: $menu
return:

theme_nice_menu_build($menu)   X-Ref
Helper function that builds the nested lists of a nice menu.

param: $menu

theme_nice_menu($id, $menu_name, $mlid, $direction = 'right', $menu = NULL)   X-Ref
General theming function to allow any menu tree to be themed
as a nice menu.

param: $id
param: $menu_name
param: $mlid
param: $direction
param: $menu
return:

theme_nice_menu_primary_links($direction = 'down', $menu = NULL)   X-Ref
Theme primary links as nice menus

param: $direction
param: $menu
return:



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7