Source for file wrapper.menu.php

Documentation is available at wrapper.menu.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Menus
  5. @copyright  Refer to copyright.php
  6. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  7. @author Mambo Foundation Inc see README.php
  8. */ 
  9.  
  10. /** ensure this file is being included by a parent file */
  11. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  12.  
  13. mosAdminMenus::menuItem$type );
  14.  
  15. switch $task {
  16.     case 'wrapper':
  17.         // this is the new item, ie, the same name as the menu `type`
  18.         wrapper_menu::edit0$menutype$option );
  19.         break;
  20.         
  21.     case 'edit':
  22.         wrapper_menu::edit$cid[0]$menutype$option );
  23.         break;
  24.         
  25.     case 'save':
  26.     case 'apply':
  27.         wrapper_menu::saveMenu$option$task );
  28.         break;
  29. }
  30. ?>

Documentation generated on Mon, 05 May 2008 16:24:33 +0400 by phpDocumentor 1.4.0