Moving dhtmlxGantt library to 'libraries' folder

This commit is contained in:
Manuel Cillero 2017-08-13 11:07:26 +02:00
parent dbcdde741c
commit 5e16eb66dd
162 changed files with 6 additions and 5 deletions

View file

@ -0,0 +1,28 @@
<?php
/*
@author dhtmlx.com
@license GPL, see license.txt
*/
require_once("base_connector.php");
class MixedConnector extends Connector {
protected $connectors = array();
public function add($name, $conn) {
$this->connectors[$name] = $conn;
}
public function render() {
$result = "{";
$parts = array();
foreach($this->connectors as $name => $conn) {
$conn->asString(true);
$parts[] = "\"".$name."\":".($conn->render())."\n";
}
$result .= implode(",\n", $parts)."}";
echo $result;
}
}
?>