public function render($name = 'params', $group = '_default')
	{
		if (!isset($this->_xml[$group]))
		{
			return false;
		}

		$params = $this->getParams($name, $group);
		$html = array();

		if ($description = $this->_xml[$group]['description'])
		{
			// Add the params description to the display
			$html[] = '<p class="paramrow_desc">' . \App::get('language')->txt((string) $description) . '</p>';
		}

		foreach ($params as $param)
		{
			if ($param[0])
			{
				$html[] = '<div class="input-wrap">';
				$html[] = $param[0];
				$html[] = $param[1];
				$html[] = '</div>';
			}
			else
			{
				$html[] = $param[1];
			}
		}

		if (count($params) < 1)
		{
			$html[] = '<p class="noparams">' . \App::get('language')->txt('JLIB_HTML_NO_PARAMETERS_FOR_THIS_ITEM') . '</p>';
		}

		return implode(PHP_EOL, $html);
	}
public function render($name = 'params', $group = '_default')
	{
		if (!isset($this->_xml[$group]))
		{
			return false;
		}

		$params = $this->getParams($name, $group);
		$html = array();

		if ($description = $this->_xml[$group]['description'])
		{
			// Add the params description to the display
			$html[] = '<p class="paramrow_desc">' . \App::get('language')->txt((string) $description) . '</p>';
		}

		foreach ($params as $param)
		{
			if ($param[0])
			{
				$html[] = '<div class="input-wrap">';
				$html[] = $param[0];
				$html[] = $param[1];
				$html[] = '</div>';
			}
			else
			{
				$html[] = $param[1];
			}
		}

		if (count($params) < 1)
		{
			$html[] = '<p class="noparams">' . \App::get('language')->txt('JLIB_HTML_NO_PARAMETERS_FOR_THIS_ITEM') . '</p>';
		}

		return implode(PHP_EOL, $html);
	}
public function render ( $ name = 'params' , $ group = '_default' ) { if ( ! isset ( $ this -> _xml [ $ group ] ) ) { return false ; } $ params = $ this -> getParams ( $ name , $ group ) ; $ html = array ( ) ; if ( $ description = $ this -> _xml [ $ group ] [ 'description' ] ) { // Add the params description to the display $ html [ ] = '<p class="paramrow_desc">' . \ App :: get ( 'language' ) -> txt ( ( string ) $ description ) . '</p>' ; } foreach ( $ params as $ param ) { if ( $ param [ 0 ] ) { $ html [ ] = '<div class="input-wrap">' ; $ html [ ] = $ param [ 0 ] ; $ html [ ] = $ param [ 1 ] ; $ html [ ] = '</div>' ; } else { $ html [ ] = $ param [ 1 ] ; } } if ( count ( $ params ) < 1 ) { $ html [ ] = '<p class="noparams">' . \ App :: get ( 'language' ) -> txt ( 'JLIB_HTML_NO_PARAMETERS_FOR_THIS_ITEM' ) . '</p>' ; } return implode ( PHP_EOL , $ html ) ; }
Render the form control.

@param   string  $name   An optional name of the HTML form control. The default is 'params' if not supplied.
@param   string  $group  An optional group to render.  The default group is used if not supplied.
@return  string  HTML
Render the form control .