Chumper/Datatable — pull request #2 by jijoel (2013-10-09 04:44:55+00:00)
Title: optionally use array in ShowColumns

It would be really nice to be able to pass an array to ShowColumns, and it's very easy to do. With this pull request, we can use either of these notations:

ShowColumns('foo', 'bar', 'bazz')

or

ShowColumns(array('foo', 'bar', 'bazz'))

... though in practice, I'll probably write the latter a bit more like this:

ShowColumns($myModel->getIndexColumns())