View/Helper/BootstrapHtmlHelper.php
public function status($value, $url = [])
    {
        $icon = $value == true ? 'check' : 'times';
        $contextual = $value == true ? 'success' : 'danger';
        return $this->label('', $contextual, ['icon' => $icon]);
    }
public function status($value, $url = [])
    {
        $icon = $value == true ? 'check' : 'times';
        $contextual = $value == true ? 'success' : 'danger';
        return $this->label('', $contextual, ['icon' => $icon]);
    }
public function status ( $ value , $ url = [ ] ) { $ icon = $ value == true ? 'check' : 'times' ; $ contextual = $ value == true ? 'success' : 'danger' ; return $ this -> label ( '' , $ contextual , [ 'icon' => $ icon ] ) ; }
Returns a well formatted check. Used special for booleans

@param  string $value
@param  array  $url
@return string
Returns a well formatted check . Used special for booleans