function addIndex( $attributes ) {
		$name = strtoupper( $attributes['NAME'] );
		$this->indexes[$name] = new dbIndex( $this, $attributes );
		return $this->indexes[$name];
	}
function addIndex( $attributes ) {
		$name = strtoupper( $attributes['NAME'] );
		$this->indexes[$name] = new dbIndex( $this, $attributes );
		return $this->indexes[$name];
	}
function addIndex ( $ attributes ) { $ name = strtoupper ( $ attributes [ 'NAME' ] ) ; $ this -> indexes [ $ name ] = new dbIndex ( $ this , $ attributes ) ; return $ this -> indexes [ $ name ] ; }
Adds an index to a table object

@param array $attributes Index attributes
@return object dbIndex object
Adds an index to a table object