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