src/UI/HTML/Abstract.php
public function setClasses( $classes )
	{
		$this->attributes['class']	= array();
		if( is_string( $classes ) )
			$classes	= explode( " ", $classes );
		if( !is_array( $classes ) && !( $classes instanceof ArrayIterator ) )
			throw new InvalidArgumentException( 'Class attribute must be string, array or iterator' );
		foreach( $classes as $class )
			$this->addClass( $class );
	}
public function setClasses( $classes )
	{
		$this->attributes['class']	= array();
		if( is_string( $classes ) )
			$classes	= explode( " ", $classes );
		if( !is_array( $classes ) && !( $classes instanceof ArrayIterator ) )
			throw new InvalidArgumentException( 'Class attribute must be string, array or iterator' );
		foreach( $classes as $class )
			$this->addClass( $class );
	}
public function setClasses ( $ classes ) { $ this -> attributes [ 'class' ] = array ( ) ; if ( is_string ( $ classes ) ) $ classes = explode ( " " , $ classes ) ; if ( ! is_array ( $ classes ) && ! ( $ classes instanceof ArrayIterator ) ) throw new InvalidArgumentException ( 'Class attribute must be string, array or iterator' ) ; foreach ( $ classes as $ class ) $ this -> addClass ( $ class ) ; }
Sets Content of Element.
@access		public
@param		string		$content		Content of Element
@return		void
Sets Content of Element .