public function fetchTooltip($label, $description, &$xmlElement, $control_name = '', $name = '')
	{
		$output = '<label id="' . $control_name . $name . '-lbl" for="' . $control_name . $name . '"';
		if ($description)
		{
			$output .= ' class="hasTip" title="' . \App::get('language')->txt($label) . '::' . \App::get('language')->txt($description) . '">';
		}
		else
		{
			$output .= '>';
		}
		$output .= \App::get('language')->txt($label) . '</label>';

		return $output;
	}
public function fetchTooltip($label, $description, &$xmlElement, $control_name = '', $name = '')
	{
		$output = '<label id="' . $control_name . $name . '-lbl" for="' . $control_name . $name . '"';
		if ($description)
		{
			$output .= ' class="hasTip" title="' . \App::get('language')->txt($label) . '::' . \App::get('language')->txt($description) . '">';
		}
		else
		{
			$output .= '>';
		}
		$output .= \App::get('language')->txt($label) . '</label>';

		return $output;
	}
public function fetchTooltip ( $ label , $ description , & $ xmlElement , $ control_name = '' , $ name = '' ) { $ output = '<label id="' . $ control_name . $ name . '-lbl" for="' . $ control_name . $ name . '"' ; if ( $ description ) { $ output .= ' class="hasTip" title="' . \ App :: get ( 'language' ) -> txt ( $ label ) . '::' . \ App :: get ( 'language' ) -> txt ( $ description ) . '">' ; } else { $ output .= '>' ; } $ output .= \ App :: get ( 'language' ) -> txt ( $ label ) . '</label>' ; return $ output ; }
Method to get a tool tip from an XML element

@param   string  $label         Label attribute for the element
@param   string  $description   Description attribute for the element
@param   object  &$xmlElement   The element object
@param   string  $control_name  Control name
@param   string  $name          Name attribut
@return  string
Method to get a tool tip from an XML element