src/UI/HTML/Tabs.php
public function addTabs( $tabs = array() )
	{
		if( !is_array( $tabs ) )
			throw new InvalidArgumentException( 'Tabs must be given as array of labels and contents.' );
		foreach( $tabs as $label => $content )
			$this->addTab( $label, $content );
	}
public function addTabs( $tabs = array() )
	{
		if( !is_array( $tabs ) )
			throw new InvalidArgumentException( 'Tabs must be given as array of labels and contents.' );
		foreach( $tabs as $label => $content )
			$this->addTab( $label, $content );
	}
public function addTabs ( $ tabs = array ( ) ) { if ( ! is_array ( $ tabs ) ) throw new InvalidArgumentException ( 'Tabs must be given as array of labels and contents.' ) ; foreach ( $ tabs as $ label => $ content ) $ this -> addTab ( $ label , $ content ) ; }
Constructor, can set Tabs.
@access		public
@param		array		$tabs		Array of Labels and Contents
@return		void
Constructor can set Tabs .