new_form($this->_name); }; return parent::show($driver); } function &create(&$root, &$pipeline) { if ($root->has_attribute('name')) { $name = $root->get_attribute('name'); } elseif ($root->has_attribute('id')) { $name = $root->get_attribute('id'); } else { $name = ""; }; $box = new FormBox($name); $box->readCSS($pipeline->get_current_css_state()); $box->create_content($root, $pipeline); return $box; } function FormBox($name) { $this->BlockBox(); $this->_name = $name; } } ?>