Ajax/semantic/html/base/traits/BaseTrait.php
public function setInverted($recursive=true) {
		if($recursive===true){
			$content=$this->_self->getContent();
			if($content instanceof HtmlSemDoubleElement)
				$content->setInverted($recursive);
			elseif(\is_array($content) || $content instanceof \Traversable){
				foreach ($content as $elm){
					if($elm instanceof  HtmlSemDoubleElement){
						$elm->setInverted($recursive);
					}
				}
			}
		}
		return $this->_self->addToProperty("class", "inverted");
	}
public function setInverted($recursive=true) {
		if($recursive===true){
			$content=$this->_self->getContent();
			if($content instanceof HtmlSemDoubleElement)
				$content->setInverted($recursive);
			elseif(\is_array($content) || $content instanceof \Traversable){
				foreach ($content as $elm){
					if($elm instanceof  HtmlSemDoubleElement){
						$elm->setInverted($recursive);
					}
				}
			}
		}
		return $this->_self->addToProperty("class", "inverted");
	}
public function setInverted ( $ recursive = true ) { if ( $ recursive === true ) { $ content = $ this -> _self -> getContent ( ) ; if ( $ content instanceof HtmlSemDoubleElement ) $ content -> setInverted ( $ recursive ) ; elseif ( \ is_array ( $ content ) || $ content instanceof \ Traversable ) { foreach ( $ content as $ elm ) { if ( $ elm instanceof HtmlSemDoubleElement ) { $ elm -> setInverted ( $ recursive ) ; } } } } return $ this -> _self -> addToProperty ( "class" , "inverted" ) ; }
can be formatted to appear on dark backgrounds
can be formatted to appear on dark backgrounds