protected static function switchColToOffset($class)
{
// todo: why would you want to do this
if (strpos($class, 'offset') === false && preg_match('/^(col-.*-)([0-9]*)$/', $class, $matches) > 0) {
return $matches[1] . 'offset-' . $matches[2];
} else {
return $class;
}
}