public function setIndexes(array $indexes)
    {
        $this->indexes = array();

        foreach ($indexes as $index) {
            $this->addIndex($index);
        }
    }
public function setIndexes(array $indexes)
    {
        $this->indexes = array();

        foreach ($indexes as $index) {
            $this->addIndex($index);
        }
    }
public function setIndexes ( array $ indexes ) { $ this -> indexes = array ( ) ; foreach ( $ indexes as $ index ) { $ this -> addIndex ( $ index ) ; } }
Sets the table indexes.

@param array $indexes The table indexes.
Sets the table indexes .