Ajax/semantic/html/elements/HtmlIcon.php
public function setIcon($icon) {
		if (isset($this->_icon)) {
			$this->removePropertyValue("class", $this->_icon);
		}
		$this->_icon=$icon;
		$this->addToProperty("class", $icon);
		return $this;
	}
public function setIcon($icon) {
		if (isset($this->_icon)) {
			$this->removePropertyValue("class", $this->_icon);
		}
		$this->_icon=$icon;
		$this->addToProperty("class", $icon);
		return $this;
	}
public function setIcon ( $ icon ) { if ( isset ( $ this -> _icon ) ) { $ this -> removePropertyValue ( "class" , $ this -> _icon ) ; } $ this -> _icon = $ icon ; $ this -> addToProperty ( "class" , $ icon ) ; return $ this ; }
sets the icon
@param string $icon
@return HtmlIcon
sets the icon