]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Table.class.php
Cosmetic, whitespace.
[timetracker.git] / WEB-INF / lib / form / Table.class.php
index ec3510c80eae8b090b6459a04253706e4223fa69..64df89051c85ff3dac8788fc24bd2ead43f6b1b7 100644 (file)
@@ -46,10 +46,9 @@ class Table extends FormElement {
   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) {
@@ -89,7 +88,7 @@ class Table extends FormElement {
     return @$this->mData[$rowindex][$this->mColumnFields[$colindex]];
   }
        
-  function getValueAtName($rowindex,$fieldname) {
+  function getValueAtName($rowindex, $fieldname) {
     if (!$this->mProccessed) $this->_process();
     return @$this->mData[$rowindex][$fieldname];
   }