QuickForm: how to get form name from within element?

From: Date: Mon, 05 Dec 2005 03:34:00 +0000
Subject: QuickForm: how to get form name from within element?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22147@lists.php.net to get a copy of this message
Hi All! I am creating custom element in QuickForm. Is there are any way to get form name from withing the element ? ============================================================================ ===== require_once("HTML/QuickForm/input.php"); class HTML_QuickForm_date_picker extends HTML_QuickForm_input { function HTML_QuickForm_date_picker($elementName=null, $elementLabel=null, $attributes=null) { HTML_QuickForm_input::HTML_QuickForm_input($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->setType('date_picker'); } //end constructor ..... function toHtml() { HERE I NEED TO GET FORM NAME. } ============================================================================ ===== Regards, Levan HYPERLINK "http://mad-logic.com/" -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 02/12/2005

« previous php.pear.general (#22147) next »