summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 093c949)
raw | patch | inline | side by side (parent: 093c949)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 14:49:24 +0000 (14:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 14:49:24 +0000 (14:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14642 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history |
index 3c920ecdd549ab5843270196aaeceefbb4dfec26..8161e394f35fe89fc31912bb0b529e5c8049111a 100644 (file)
protected $snapHandler = null;
// Private
- private $plugname = "";
- private $headpage = null;
- private $filter = null;
- private $actions = array();
+ protected $plugname = "";
+ protected $headpage = null;
+ protected $filter = null;
+ protected $actions = array();
function __construct($config,$ui,$plugname, $headpage)
{
}
// Handle actions (POSTs and GETs)
- $str = $this->detectPostActions();
+ $str = $this->handleActions($this->detectPostActions());
if($str) return($this->getHeader().$str);
// Display tab object.
if(isset($_POST['edit_cancel'])) $action['action'] = "cancel";
if(isset($_POST['delete_confirmed'])) $action['action'] = "removeConfirmed";
+ return($action);
+ }
+
+ function handleActions($action)
+ {
// Start action
if(isset($this->actions[$action['action']])){
$func = $this->actions[$action['action']];