patricktalmadge/bootstrapper — pull request #22 by Anahkiasen (2012-09-08 12:56:05+00:00)
Title: Add Tables helper class

In the latest releases Bootstrap's table styles have been growing more and more to separate base behaviors into classes (example: the hover effect is now a separate class).
As there are a lot of classes to deal with, I thought I'd write a little helper class which allows the following :

```html
{{ Tables::bordered_hover_condensed_striped() }}

MyColumn
```

The class is named `Tables` instead of `Table` to allow the creation of an alias that doesn't conflict with Laravel's original Table class (which is related to databases and such).
I've also added a small helper function for creating `
` tags — I'm fully aware this function might not enter right now in the scope of Bootstrapper (more of an HTML macro) but as Bootstrap is always adding more and more classes I think it might be a good way to handle future classes to come.

The syntax is the following :
```html
{{ Tables::bordered_hover_condensed_striped() }}
{{ Tables::headers(array(
'column1',
'column2',
'column3' => array('class' => 'centered') )) }}
```

Anyway it's facultative, see and judge if that helper's relevant.
The `helpers.php` file got commited by mistake, there was some line-ending whitespace that Sublime truncated automatically, sorry about that.