33 $this->enumToCSS = $enum_to_css;
34 $this->caseSensitive = (bool) $case_sensitive;
41 $value = trim(
$attr[$this->attr]);
42 unset(
$attr[$this->attr]);
44 if (!$this->caseSensitive) $value = strtolower($value);
46 if (!isset($this->enumToCSS[$value])) {