summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14d05dc)
raw | patch | inline | side by side (parent: 14d05dc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 11:19:11 +0000 (11:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Oct 2009 11:19:11 +0000 (11:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14634 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_management.inc | patch | blob | history |
index 2a272076adc59547127c60ac296dcd02a4191c3c..21bdd4743dcfbda96e8a887735e2ff81f9f8c295 100644 (file)
protected $tabType = "";
protected $aclCategory = "";
protected $objectName = "";
+ protected $tabObject = null;
protected $displayApplyBtn = "";
protected $cpHandler = null;
private $headpage = null;
private $filter = null;
private $actions = array();
- private $tabObject = null;
function __construct($config,$ui,$plugname, $headpage)
{
}
}
- function newEntry($action,$target,$all)
+ function newEntry($action="",$target=array(),$all=array())
{
// Check locking & lock entry if required
$this->displayApplyBtn = FALSE;
return("");
}
- $ui = get_userinfo();
+ $this->cpHandler->save_object();
/* Add entries to queue */
if($s_action == "copy" || $s_action == "cut"){
/* Add new entries to CP queue */
foreach($s_entry as $dn){
- if($s_action == "copy" && $ui->is_copyable($dn,$this->aclCategory,$this->aclPlugin)){
+ if($s_action == "copy" && $this->ui->is_copyable($dn,$this->aclCategory,$this->aclPlugin)){
$this->cpHandler->add_to_queue($dn,"copy",$this->tabClass,$this->tabType,$this->aclCategory);
}
- if($s_action == "cut" && $ui->is_cutable($dn,$this->aclCategory,$this->aclPlugin)){
+ if($s_action == "cut" && $this->ui->is_cutable($dn,$this->aclCategory,$this->aclPlugin)){
$this->cpHandler->add_to_queue($dn,"cut",$this->tabClass,$this->tabType,$this->aclCategory);
}
}
}
- function save_object(){}
function setDescription($str) {
$this->plDescription = $str;
}