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) {
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];
}
$html .= ">\n";
// Print headers.
- if (($this->mInteractive && (count($this->mHeaders) > 1)) || (!$this->mInteractive && (count($this->mHeaders) > 0))) {
+ if (($this->mInteractive && (count($this->mHeaders) > 1)) || (!$this->mInteractive && (count($this->mHeaders) > 0))) {
$html .= "<tr";
if (count($this->mRowOptions) > 0) {
foreach ($this->mRowOptions as $k=>$v) {