Source for file toolbar.installer.php

Documentation is available at toolbar.installer.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Installer
  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. require_once$mainframe->getPath'toolbar_html' ) );
  14.  
  15. switch ($task){
  16.     case "new":
  17.         TOOLBAR_installer::_NEW();
  18.         break;
  19.  
  20.     default:
  21.         $element mosGetParam$_REQUEST'element''' );
  22.         if ($element == 'component' || $element == 'module' || $element == 'mambot'{
  23.             TOOLBAR_installer::_DEFAULT2($element);
  24.         else {
  25.             TOOLBAR_installer::_DEFAULT();
  26.         }
  27.         break;
  28. }
  29. ?>

Documentation generated on Mon, 05 May 2008 16:23:32 +0400 by phpDocumentor 1.4.0