Source for file content_section.menu.php

Documentation is available at content_section.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 'content_section':
  17.         // this is the new item, ie, the same name as the menu `type`
  18.         content_section_menu::editSection0$menutype$option );
  19.         break;
  20.  
  21.     case 'edit':
  22.         content_section_menu::editSection$cid[0]$menutype$option );
  23.         break;
  24.  
  25.     case 'save':
  26.     case 'apply':
  27.         saveMenu$option$task );
  28.         break;
  29. }
  30. ?>

Documentation generated on Mon, 05 May 2008 16:18:44 +0400 by phpDocumentor 1.4.0