protected function formUserInfo()
	{
		$form = new XmlFormCollection($this->_context, $this->_url, $this->_myWords->Value("UPDATETITLE"));
		$this->_paragraph->addXmlnukeObject($form);		
		
		$hidden = new XmlInputHidden("action", "update");
		$form->addXmlnukeObject($hidden);
		
		$labelField = new XmlInputLabelField($this->_myWords->Value("LABEL_LOGIN"), $this->_user->getField($this->_users->getUserTable()->username));
		$form->addXmlnukeObject($labelField);
		
		$textBox = new XmlInputTextBox($this->_myWords->Value("LABEL_NAME"), "name",$this->_user->getField($this->_users->getUserTable()->name));
		$form->addXmlnukeObject($textBox);
		
		$textBox = new XmlInputTextBox($this->_myWords->Value("LABEL_EMAIL"), "email", $this->_user->getField($this->_users->getUserTable()->email));
		$form->addXmlnukeObject($textBox);
		
		$button = new XmlInputButtons();
		$button->addSubmit($this->_myWords->Value("TXT_UPDATE"),"");
		$form->addXmlnukeObject($button);
	}
protected function formUserInfo()
	{
		$form = new XmlFormCollection($this->_context, $this->_url, $this->_myWords->Value("UPDATETITLE"));
		$this->_paragraph->addXmlnukeObject($form);		
		
		$hidden = new XmlInputHidden("action", "update");
		$form->addXmlnukeObject($hidden);
		
		$labelField = new XmlInputLabelField($this->_myWords->Value("LABEL_LOGIN"), $this->_user->getField($this->_users->getUserTable()->username));
		$form->addXmlnukeObject($labelField);
		
		$textBox = new XmlInputTextBox($this->_myWords->Value("LABEL_NAME"), "name",$this->_user->getField($this->_users->getUserTable()->name));
		$form->addXmlnukeObject($textBox);
		
		$textBox = new XmlInputTextBox($this->_myWords->Value("LABEL_EMAIL"), "email", $this->_user->getField($this->_users->getUserTable()->email));
		$form->addXmlnukeObject($textBox);
		
		$button = new XmlInputButtons();
		$button->addSubmit($this->_myWords->Value("TXT_UPDATE"),"");
		$form->addXmlnukeObject($button);
	}
protected function formUserInfo ( ) { $ form = new XmlFormCollection ( $ this -> _context , $ this -> _url , $ this -> _myWords -> Value ( "UPDATETITLE" ) ) ; $ this -> _paragraph -> addXmlnukeObject ( $ form ) ; $ hidden = new XmlInputHidden ( "action" , "update" ) ; $ form -> addXmlnukeObject ( $ hidden ) ; $ labelField = new XmlInputLabelField ( $ this -> _myWords -> Value ( "LABEL_LOGIN" ) , $ this -> _user -> getField ( $ this -> _users -> getUserTable ( ) -> username ) ) ; $ form -> addXmlnukeObject ( $ labelField ) ; $ textBox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "LABEL_NAME" ) , "name" , $ this -> _user -> getField ( $ this -> _users -> getUserTable ( ) -> name ) ) ; $ form -> addXmlnukeObject ( $ textBox ) ; $ textBox = new XmlInputTextBox ( $ this -> _myWords -> Value ( "LABEL_EMAIL" ) , "email" , $ this -> _user -> getField ( $ this -> _users -> getUserTable ( ) -> email ) ) ; $ form -> addXmlnukeObject ( $ textBox ) ; $ button = new XmlInputButtons ( ) ; $ button -> addSubmit ( $ this -> _myWords -> Value ( "TXT_UPDATE" ) , "" ) ; $ form -> addXmlnukeObject ( $ button ) ; }
Show the info of user in the form
Show the info of user in the form