public function updateAttributes(&$attributes)
    {
        if ($validator = $this->getValidator()) {
            
            if ($extra = $validator->getAttributesForField($this->owner)) {
                $attributes = array_merge($attributes, $extra);
            }
            
        }
    }
public function updateAttributes(&$attributes)
    {
        if ($validator = $this->getValidator()) {
            
            if ($extra = $validator->getAttributesForField($this->owner)) {
                $attributes = array_merge($attributes, $extra);
            }
            
        }
    }
public function updateAttributes ( & $ attributes ) { if ( $ validator = $ this -> getValidator ( ) ) { if ( $ extra = $ validator -> getAttributesForField ( $ this -> owner ) ) { $ attributes = array_merge ( $ attributes , $ extra ) ; } } }
Updates the HTML attributes of the extended field.

@param array $attributes

@return void
Updates the HTML attributes of the extended field .