summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 873f23f)
raw | patch | inline | side by side (parent: 873f23f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 08:35:28 +0000 (08:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Feb 2008 08:35:28 +0000 (08:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9199 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc b/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent.inc
index e964f0ac16691bec729f340434c0f2d76738f059..a5f55534ffa89aa5fd615d3dcfac3aea6b2235c0 100644 (file)
/*
This code is part of GOsa (http://www.gosa-project.org)
Copyright (C) 2008 Fabian Hickert
-G
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+define("SCHEDULED_EVENT",1);
+define("TRIGGERED_EVENT",2);
/*! \brief This is the event base class
\author Fabian Hickert <hickert@gonicus.de>
protected $status = "unknown";// The current event status
protected $is_new = TRUE; // Is TRUE if this is a new event
+ protected $mode = SCHEDULED_EVENT; // Default action is sheduled.
+
/* Sub dialog hanlding */
protected $target_divlist = NULL; // The divlist used by the target add dialog
protected $target_add_list_used = FALSE; // Indicates that the target add list was used.
protected $workstation_list = array(); // Used as cache in the target list.
protected $server_list = array(); // Used as cache in the target list.
+
+ function set_type($type)
+ {
+ $this->mode = $type;
+ }
+
+
+ function get_type()
+ {
+ return($this->mode);
+ }
/*! \brief Class contructor.
@param Array GOsa configuration object.