TbHtml::stripedProgressBar PHP Method

stripedProgressBar() public static method

Generates a striped progress bar.
public static stripedProgressBar ( integer $width, array $htmlOptions = [] ) : string
$width integer the progress in percent.
$htmlOptions array additional HTML attributes.
return string the generated progress bar.
    public static function stripedProgressBar($width = 0, $htmlOptions = array())
    {
        $htmlOptions['striped'] = true;
        return self::progressBar($width, $htmlOptions);
    }

Usage Example

Exemplo n.º 1
0
	<h3>Basic</h3>

	<div class="bs-docs-example">
		<?php 
echo TbHtml::progressBar(60);
?>
	</div>
	<pre class="prettyprint linenums">
&lt;?php echo TbHtml::progressBar(60); ?></pre>

	<h3>Striped</h3>

	<div class="bs-docs-example">
		<?php 
echo TbHtml::stripedProgressBar(20);
?>
	</div>
	<pre class="prettyprint linenums">
&lt;?php echo TbHtml::stripedProgressBar(20); ?></pre>

	<h3>Animated</h3>

	<div class="bs-docs-example">
		<?php 
echo TbHtml::animatedProgressBar(40);
?>
	</div>
	<pre class="prettyprint linenums">
&lt;?php echo TbHtml::animatedProgressBar(40); ?></pre>
All Usage Examples Of TbHtml::stripedProgressBar
TbHtml