widgets/input/CiiInput.php
protected function getAppend()
	{
		if ($this->hasAddOn())
		{
			$htmlOptions = $this->appendOptions;

			if (isset($htmlOptions['class']))
				$htmlOptions['class'] .= ' add-on';
			else
				$htmlOptions['class'] = 'add-on';

			ob_start();
			if (isset($this->appendText))
				echo CHtml::tag('span', $htmlOptions, $this->appendText);

			echo '</div>';
			return ob_get_clean();
		} else
			return '';
	}
protected function getAppend()
	{
		if ($this->hasAddOn())
		{
			$htmlOptions = $this->appendOptions;

			if (isset($htmlOptions['class']))
				$htmlOptions['class'] .= ' add-on';
			else
				$htmlOptions['class'] = 'add-on';

			ob_start();
			if (isset($this->appendText))
				echo CHtml::tag('span', $htmlOptions, $this->appendText);

			echo '</div>';
			return ob_get_clean();
		} else
			return '';
	}
protected function getAppend ( ) { if ( $ this -> hasAddOn ( ) ) { $ htmlOptions = $ this -> appendOptions ; if ( isset ( $ htmlOptions [ 'class' ] ) ) $ htmlOptions [ 'class' ] .= ' add-on' ; else $ htmlOptions [ 'class' ] = 'add-on' ; ob_start ( ) ; if ( isset ( $ this -> appendText ) ) echo CHtml :: tag ( 'span' , $ htmlOptions , $ this -> appendText ) ; echo '</div>' ; return ob_get_clean ( ) ; } else return '' ; }
Returns the append element for the input.
@return string the element
Returns the append element for the input .