예제 #1
0
 /**
  * @param string $alias
  */
 public static function io_handler($alias)
 {
     switch ($_GET['action']) {
         // General
         case "permission":
             require_once "io/data.io.php";
             DataIO::permission();
             break;
         case "chown":
             require_once "io/data.io.php";
             DataIO::change_owner();
             break;
         case "chgroup":
             require_once "io/data.io.php";
             DataIO::change_group();
             break;
         case "image_browser_detail":
             require_once "io/data.io.php";
             DataIO::image_browser_detail();
             break;
         case "image_browser_multi":
             require_once "io/data.io.php";
             DataIO::image_browser_multi();
             break;
             // Values
         // Values
         case "value_detail":
             require_once "io/value.io.php";
             ValueIO::detail();
             break;
         case "value_history":
             require_once "io/value.io.php";
             ValueIO::history();
             break;
         case "value_delete_version":
             require_once "io/value.io.php";
             ValueIO::delete_version();
             break;
             // File
         // File
         case "file_add":
             require_once "io/file.io.php";
             FileIO::upload();
             break;
         case "file_update":
         case "file_update_minor":
             require_once "io/file.io.php";
             FileIO::update();
             break;
         case "file_detail":
             require_once "io/file.io.php";
             FileIO::detail();
             break;
         case "file_history":
             require_once "io/file.io.php";
             FileIO::history();
             break;
         case "file_delete":
             require_once "io/file.io.php";
             FileIO::delete();
             break;
         case "file_delete_version":
             require_once "io/file.io.php";
             FileIO::delete_version();
             break;
             // Parameter
         // Parameter
         case "parameter_detail":
             require_once "io/parameter.io.php";
             ParameterIO::detail();
             break;
         case "parameter_history":
             require_once "io/parameter.io.php";
             ParameterIO::history();
             break;
             // Common Dialogs
         // Common Dialogs
         case "common_dialog":
             require_once "core/modules/base/common.request.php";
             CommonRequest::common_dialog();
             break;
             // Default
         // Default
         default:
             require_once "io/data.io.php";
             DataIO::browser();
             break;
     }
 }