sQuery = $sTmpQuery; $this->aColumns = & $aTmpColumns; $this->aColumnHeaderNames = $aTmpColumnHeaderNames; $this->sWidth = $sTmpWidth; $this->sWhereClause = & $sTmpWhereClause; $this->sOrderByClause = $sTmpOrderByClause; $this->bDisplayColumnHeadings = $bTmpDisplayColumnHeadings; } function setTableHeading($sNewValue) { $this->sTableHeading = $sNewValue; } /** * Build the HTML string used to render the object * * @return String of HTML used to render object * * @todo possibly add in image size restraints for link types 2 and 3 */ function & render() { //$sToRender = "
| " . $this->aColumnHeaderNames[$i] . " | \n"; } } $sql = new Owl_DB(); $sql->query($this->sQuery); while ($sql->next_record()) { $sToRender .= "
|---|
| " . $sql->f($this->aColumns[$i]) . " | "; } $sToRender .= "