added doc
This commit is contained in:
		
							parent
							
								
									94fdfca094
								
							
						
					
					
						commit
						aab3658deb
					
				|  | @ -3628,8 +3628,8 @@ class htmlResponsiveInputField extends htmlInputField { | ||||||
| 	private $label; | 	private $label; | ||||||
| 	/** help ID */ | 	/** help ID */ | ||||||
| 	private $helpID; | 	private $helpID; | ||||||
| 	/** generate HTML of parent class */ | 	/** render HTML of parent class */ | ||||||
| 	private $generateParent = false; | 	private $renderParentHtml = false; | ||||||
| 
 | 
 | ||||||
| 	/** | 	/** | ||||||
| 	 * Constructor | 	 * Constructor | ||||||
|  | @ -3658,10 +3658,11 @@ class htmlResponsiveInputField extends htmlInputField { | ||||||
| 	 * @return array List of input field names and their type (name => type) | 	 * @return array List of input field names and their type (name => type) | ||||||
| 	 */ | 	 */ | ||||||
| 	function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { | 	function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) { | ||||||
| 		if ($this->generateParent) { | 		if ($this->renderParentHtml) { | ||||||
| 			return parent::generateHTML($module, $input, $values, $restricted, $tabindex, $scope); | 			return parent::generateHTML($module, $input, $values, $restricted, $tabindex, $scope); | ||||||
| 		} | 		} | ||||||
| 		$this->generateParent = true; | 		// HTML of parent class is rendered on second call (done by htmlResponsiveRow)
 | ||||||
|  | 		$this->renderParentHtml = true; | ||||||
| 		$row = new htmlResponsiveRow(); | 		$row = new htmlResponsiveRow(); | ||||||
| 		// label text
 | 		// label text
 | ||||||
| 		$labelGroup = new htmlGroup(); | 		$labelGroup = new htmlGroup(); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue