[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/sitemgr/modules/ -> class.module_navigation.inc.php (sommaire)

(pas de description)

Poids: 766 lignes (26 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

module_navigation:: (11 méthodes):
  module_navigation()
  get_user_interface()
  validate()
  get_content()
  encapsulate()
  type_navigation()
  type_sitetree()
  add()
  remove()
  toggle()
  showcat()


Classe: module_navigation  - X-Ref

Navigation framework module
The idea behind this module is, just to have ONE highly configurable module FOR ALL navigation elements
If it's possible, we don't use extra functions for different views to reduce code
There are some predefined views wich are quite commen or are needed for backward compability

The views are customizeable by css. See default.css in folder sitemgr-site/templates/default/style/

There is a horde of options to control the generation engine:
- category_id
- current_section_only
- expand
- highlight_current_page
- max_cat_depth -> could be ablolute ('number')  or relative (+number)
- max_pages_depth -> could be ablolute ('number')  or relative (+number)
- nav_title
- no_full_index
- path_only
- show_cat_description
- show_edit_icons
- show_page_description
- show_subcats_above
- showhidden
- sub_cats
- suppress_current_cat
- suppress_main_cats
- suppress_cat_link
- suppress_current_page
- suppress_parent
- suppress_show_all

module_navigation()   X-Ref
Pas de description

get_user_interface()   X-Ref
Pas de description

validate(&$data)   X-Ref
Pas de description

get_content(&$arguments,$properties)   X-Ref
Pas de description

encapsulate($arguments,$data,$type,$cat_id,$depth=1)   X-Ref
encapsulates navigation elements

param: $arguments of module.
param: $data
param: $type string 'cat' or 'page'
param: $cat_id of cat itselve or of cat page belongs to.
param: $depth logical deps of cat or page.

type_navigation(&$arguments,$properties)   X-Ref
Pas de description

type_sitetree(&$arguments,$properties)   X-Ref
Pas de description

add(catid)   X-Ref
Pas de description

remove(catid)   X-Ref
Pas de description

toggle(image, catid)   X-Ref
Pas de description

showcat($cats)   X-Ref
Pas de description



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7