src/UI/HTML/Indicator.php
protected function renderPercentage( $ratio )
	{
		if( !$this->getOption( 'usePercentage' ) )
			return "";
		$value		= floor( $ratio * 100 )."&nbsp;%";
		$attributes	= array( 'class' => $this->getOption( 'classPercentage' ) );
		$div		= UI_HTML_Tag::create( "span", $value, $attributes );
		return $div;
	}
protected function renderPercentage( $ratio )
	{
		if( !$this->getOption( 'usePercentage' ) )
			return "";
		$value		= floor( $ratio * 100 )."&nbsp;%";
		$attributes	= array( 'class' => $this->getOption( 'classPercentage' ) );
		$div		= UI_HTML_Tag::create( "span", $value, $attributes );
		return $div;
	}
protected function renderPercentage ( $ ratio ) { if ( ! $ this -> getOption ( 'usePercentage' ) ) return "" ; $ value = floor ( $ ratio * 100 ) . "&nbsp;%" ; $ attributes = array ( 'class' => $ this -> getOption ( 'classPercentage' ) ) ; $ div = UI_HTML_Tag :: create ( "span" , $ value , $ attributes ) ; return $ div ; }
Builds HTML Code of Percentage Block.
@access		protected
@param		float		$ratio		Ratio (between 0 and 1)
@return		string
Builds HTML Code of Percentage Block .