vector[$this->count++] = $entry; } public function size() { return $this->count; } public function &at($position) { if(isset($this->vector[$position])) $return = &$this->vector[$position]; else $return = false; return $return; } public function raw() { return($this->vector); } public function write(html &$html, $element = 'li', $encap = 'ul') { if(isset($encap[0])) $html->raw('<'.$encap.'>', 1); for($a = 0; $a < $this->count; ++$a) $html->raw('<'.$element.'>'.$this->vector[$a].'', 0); if(isset($encap[0])) $html->raw('', -1); } //Eeek! Remove me :( public function display() { print_r($this->vector); } };