public function render(&$xmlElement, $value, $control_name = 'params')
	{
		$name  = (string) $xmlElement['name'];
		$label = (string) $xmlElement['label'];
		$descr = (string) $xmlElement['description'];

		//make sure we have a valid label
		$label = $label ? $label : $name;
		$result[0] = $this->fetchTooltip($label, $descr, $xmlElement, $control_name, $name);
		$result[1] = $this->fetchElement($name, $value, $xmlElement, $control_name);
		$result[2] = $descr;
		$result[3] = $label;
		$result[4] = $value;
		$result[5] = $name;

		return $result;
	}
public function render(&$xmlElement, $value, $control_name = 'params')
	{
		$name  = (string) $xmlElement['name'];
		$label = (string) $xmlElement['label'];
		$descr = (string) $xmlElement['description'];

		//make sure we have a valid label
		$label = $label ? $label : $name;
		$result[0] = $this->fetchTooltip($label, $descr, $xmlElement, $control_name, $name);
		$result[1] = $this->fetchElement($name, $value, $xmlElement, $control_name);
		$result[2] = $descr;
		$result[3] = $label;
		$result[4] = $value;
		$result[5] = $name;

		return $result;
	}
public function render ( & $ xmlElement , $ value , $ control_name = 'params' ) { $ name = ( string ) $ xmlElement [ 'name' ] ; $ label = ( string ) $ xmlElement [ 'label' ] ; $ descr = ( string ) $ xmlElement [ 'description' ] ; //make sure we have a valid label $ label = $ label ? $ label : $ name ; $ result [ 0 ] = $ this -> fetchTooltip ( $ label , $ descr , $ xmlElement , $ control_name , $ name ) ; $ result [ 1 ] = $ this -> fetchElement ( $ name , $ value , $ xmlElement , $ control_name ) ; $ result [ 2 ] = $ descr ; $ result [ 3 ] = $ label ; $ result [ 4 ] = $ value ; $ result [ 5 ] = $ name ; return $ result ; }
Method to render an xml element

@param   string  &$xmlElement   Name of the element
@param   string  $value         Value of the element
@param   string  $control_name  Name of the control
@return  array   Attributes of an element
Method to render an xml element