public function href($path, $query = NULL)
	{
		if ($query) {
			$query = http_build_query($query, '', '&');
			if ($query !== '') {
				$path .= '?' . $query;
			}
		}
		$this->attrs['href'] = $path;

		return $this;
	}
public function href($path, $query = NULL)
	{
		if ($query) {
			$query = http_build_query($query, '', '&');
			if ($query !== '') {
				$path .= '?' . $query;
			}
		}
		$this->attrs['href'] = $path;

		return $this;
	}
public function href ( $ path , $ query = NULL ) { if ( $ query ) { $ query = http_build_query ( $ query , '' , '&' ) ; if ( $ query !== '' ) { $ path .= '?' . $ query ; } } $ this -> attrs [ 'href' ] = $ path ; return $ this ; }
Special setter for element's attribute.

@param  string path
@param  array query
@return self
Special setter for element s attribute .