confirmation = $confirmation; parent::__construct($action, $title, $form); } function Field() { $attributes = array( 'type' => 'submit', 'class' => $this->extraClass(), 'id' => $this->id(), 'name' => $this->Name(), 'value' => $this->attrTitle(), 'tabindex' => $this->getTabIndexHTML(), 'onclick' => "return confirm('$this->confirmation');" ); return $this->createTag('input', $attributes); } } ?>