function removeClass($className)
{
if (!is_array($className)) {
$className = array($className);
}
$class = $this->class;
foreach ($className as $c) {
$class = preg_replace('`\\b' . preg_quote($c) . '\\b`si', '', $class);
}
if ($class) {
$this->class = $class;
} else {
unset($this->class);
}
}