aLinks = $aNewLinks; $this->aLinksText = $aNewLinksText; $this->aLinkImages = $aNewLinkImages; $this->iRows = $iNewRows; $this->iColumns = $iNewColumns; $this->iLinkType = $iNewLinkType; } /** * Build the HTML string used to render the object * * @return String of HTML used to render object */ function & render() { $iArraySize = array_count_values($this->aLinks); $iArrayCount = 0; $sToRender = "\n"; //build the table for ($i = 0; $i < $this->iRows; $i++) { $sToRender = $sToRender . "\n"; for ($j = 0; $j < $this->iColumns; $j++) { $sToRender = $sToRender . "\n"; } $sToRender = $sToRender . "\n"; } $sToRender = $sToRender . "
"; if ($iArrayCount < $iArraySize) { $sToRender = $sToRender . "aLinks[$iArrayCount] . "\" />" . $this->aLinksText[$iArrayCount]; $iArrayCount++; } $sToRender = $sToRender . "
\n"; return $sToRender; } } ?>