Skip to content
VMBindraban edited this page Mar 4, 2013 · 2 revisions

The SxBootstap label view helper shows a label made with the twitter bootstrap. The following syntax builds the label.

<?php
echo $this->sxbLabel($string);
?>

Explicit usage

<?php
echo $this->sxbLabel('LabelString');
?>

Class types

<?php
// info, inverse, success, warning
echo $this->sxbLabel('LabelString')->info();
?>
Clone this wiki locally