protected function compileAttributes($attributes)
{
$items = '';
$classes = array();
$classesCheck = array();
foreach ($attributes as $attr) {
$items .= $this->getAttributeCode($attr, $classes, $classesCheck);
}
$items .= $this->getClassesCode($classes, $classesCheck);
$this->buffer($items, false);
}