Class menu

Description

This class handels menu (blocks) viewed in cms whether on the sides or in the middle

  • author: Abdul Al-Hasany
  • version: 2010
  • copyright: Abdul Al-hasany (c) 2010
  • access: public

Located in /includes/blocks.class.php (line 39)


	
			
Variable Summary
mixed $menucenter
mixed $menuhead
mixed $menuid
Method Summary
mixed get_block (string $head, string $center)
mixed middle_menu ()
mixed _menu (int $k)
Variables
mixed $block_template = '' (line 45)
mixed $menucenter = '' (line 43)
mixed $menuhead = '' (line 42)
mixed $menuid = '' (line 44)
Methods
get_block (line 142)

Get template of each menu

  • return: formatted and ready to display menu
mixed get_block (string $head, string $center)
  • string $head: value of the head part of the menu
  • string $center: value of center part of the menu
middle_menu (line 113)

This function proccess and displays middle menus

  • return: list of all middle menus
mixed middle_menu ()
_menu (line 53)

Main function. it is used to retrive menus used in a certain module or part of the cms

  • return: list of all blocks included in the index page (if it is the index page) or in a given module (if it was loaded).
mixed _menu (int $k)
  • int $k: menu align

Documentation generated on Fri, 16 Apr 2010 12:54:42 +1000 by phpDocumentor 1.4.1