public function setAttributes(array $attrs) {

		foreach($attrs as $k => $v) {
			$this->setAttribute($k, $v);
		}

		return $this;

	}
public function setAttributes(array $attrs) {

		foreach($attrs as $k => $v) {
			$this->setAttribute($k, $v);
		}

		return $this;

	}
public function setAttributes ( array $ attrs ) { foreach ( $ attrs as $ k => $ v ) { $ this -> setAttribute ( $ k , $ v ) ; } return $ this ; }
sets sevaral form attributes stored in associative array

@param array $attrs
@return HtmlForm
@throws HtmlFormException
sets sevaral form attributes stored in associative array