Quick search:

PntCheckboxWidget
PntDialogWidget
PntFormWidget
PntMtoNDialogWidget
PntSelectWidget
PntTextAreaWidget
PntTextWidget
initialize
PntSelectWidget
getAutoSelectFirst
getName
getOptionSelected
getOptions
getSelectedId
getSettedCompulsory
printBody
printOnChangeScript
printSelectOptions
printStyle
printUnselectOption
setAutoSelectFirst
setOnChangeScript
setOptions
setOptionsFromObjects
setOptionsFromValues
setSelectedId
setSettedCompulsory
setWidth
setWidthFromOptionsMaxLength


	function initialize(&$text) {
		parent::initialize($text);
		if ($text) {
			$reqObj =& $this->getRequestedObject();
			$nav =& $text->getNavigation();

			$this->setSettedCompulsory($nav->isSettedCompulsory());
			if ($text->contentLabel !== null) {
				$text->setItem($reqObj);
				$text->setConvertMarkup($text->contentLabel);
			}
	
			$options =& $nav->_getOptions($reqObj);
			if (is_ofType($options, 'PntError')) {
				trigger_error($options->getLabel(), E_USER_WARNING);
				$options = array();
			}
			$lastProp =& $nav->getLastProp();
			if ($lastProp->isTypePrimitive()) {
				$this->setOptionsFromValues($options, $nav->getResultType());
				$this->setSelectedId($text->getMarkupWith($reqObj));
			} else {
				$this->setOptionsFromObjects($options, $nav->getResultType());
				$this->setSelectedId($text->getContentWith($reqObj));
			}
		}
	}