public function removeIndex($name)
    {
        //check if we have a index with this name already, then delete it
        foreach ($this->indices as $n => $idx) {
            if ($idx->getName() == $name) {
                unset($this->indices[$n]);

                return;
            }
        }
    }
public function removeIndex($name)
    {
        //check if we have a index with this name already, then delete it
        foreach ($this->indices as $n => $idx) {
            if ($idx->getName() == $name) {
                unset($this->indices[$n]);

                return;
            }
        }
    }
public function removeIndex ( $ name ) { //check if we have a index with this name already, then delete it foreach ( $ this -> indices as $ n => $ idx ) { if ( $ idx -> getName ( ) == $ name ) { unset ( $ this -> indices [ $ n ] ) ; return ; } } }
Removed a index from the table

@param string $name
Removed a index from the table