aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/tabsheet.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/tabsheet.class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/admin/include/tabsheet.class.php b/admin/include/tabsheet.class.php
index e046c7f8d..02ee9a3d1 100644
--- a/admin/include/tabsheet.class.php
+++ b/admin/include/tabsheet.class.php
@@ -24,6 +24,7 @@
class tabsheet
{
var $sheets;
+ var $uniqid;
var $name;
var $titlename;
var $selected;
@@ -35,10 +36,16 @@ class tabsheet
function tabsheet($name = 'TABSHEET', $titlename = 'TABSHEET_TITLE')
{
$this->sheets = array();
+ $this->uniqid = null;
$this->name = $name;
$this->titlename = $titlename;
$this->selected = "";
}
+
+ function set_id($id)
+ {
+ $this->uniqid = $id;
+ }
/*
add a tab
@@ -81,6 +88,7 @@ class tabsheet
*/
function select($name)
{
+ $this->sheets = trigger_event('tabsheet_before_select', $this->sheets, $this->uniqid);
$this->selected = $name;
}