summaryrefslogtreecommitdiffstats
path: root/codebase/gantt_connector.php
diff options
context:
space:
mode:
Diffstat (limited to 'codebase/gantt_connector.php')
-rw-r--r--codebase/gantt_connector.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/codebase/gantt_connector.php b/codebase/gantt_connector.php
index 11ae06a..1c04116 100644
--- a/codebase/gantt_connector.php
+++ b/codebase/gantt_connector.php
@@ -93,10 +93,16 @@ class GanttConnector extends Connector{
$this->request->set_filter($this->config->text[1]["name"],$_GET["from"],">");
}
}
-
+
public function openAll($mode = true) {
GanttDataItem::$open = $mode;
}
+
+ public function render_links($table,$id="",$fields=false,$extra=false,$relation_id=false) {
+ $links = new OptionsConnector($this->get_connection(),$this->names["db_class"]);
+ $links->render_table($table,$id,$fields,$extra);
+ $this->set_options("links", $links);
+ }
}
/*! DataProcessor class for Gantt component
@@ -237,5 +243,11 @@ class JSONGanttConnector extends GanttConnector {
$this->event->trigger("beforeOutput", $this, $out);
$out->output("", true, $this->encoding);
}
+
+ public function render_links($table,$id="",$fields=false,$extra=false,$relation_id=false) {
+ $links = new JSONOptionsConnector($this->get_connection(),$this->names["db_class"]);
+ $links->render_table($table,$id,$fields,$extra);
+ $this->set_options("links", $links);
+ }
}
?> \ No newline at end of file