Added cc option for notifications.
[timetracker.git] / WEB-INF / lib / form / Table.class.php
index ea0d28e..78fddf5 100644 (file)
@@ -41,15 +41,14 @@ class Table extends FormElement {
   var $mBgColor       = '#ffffff';
   var $mBgColorOver   = '#eeeeff';
   var $mWidth         = '';
-  var $class = 'Table';
   var $mTableOptions  = array();
   var $mRowOptions    = array();
   var $mHeaderOptions = array();
   var $mProccessed    = false;
        
-  function __construct($name, $value='') {
+  function __construct($name) {
+    $this->class = 'Table';
     $this->name = $name;
-    $this->value = $value;
   }
   
   function setKeyField($value) {
@@ -114,7 +113,7 @@ class Table extends FormElement {
     }
   }
   
-  function toStringControl() {
+  function getHtml() {
     if (!$this->mProccessed) $this->_process();
     
     $html = "";