public function set_attributes() {

		if ( ! empty( $this->struct['config'] ) ) {
			$this->set_config();
		}

		$this->attributes['class'] += $this->classes();

		parent::set_attributes();

	}
public function set_attributes() {

		if ( ! empty( $this->struct['config'] ) ) {
			$this->set_config();
		}

		$this->attributes['class'] += $this->classes();

		parent::set_attributes();

	}
public function set_attributes ( ) { if ( ! empty ( $ this -> struct [ 'config' ] ) ) { $ this -> set_config ( ) ; } $ this -> attributes [ 'class' ] += $ this -> classes ( ) ; parent :: set_attributes ( ) ; }
Sets the attributes for the control.

@since  1.0.0
@access public
Sets the attributes for the control .