public function getName()
    {
        $this->doNaming();

        if ($this->table && $database = $this->table->getDatabase()) {
            return substr($this->name, 0, $database->getMaxColumnNameLength());
        }

        return $this->name;
    }
public function getName()
    {
        $this->doNaming();

        if ($this->table && $database = $this->table->getDatabase()) {
            return substr($this->name, 0, $database->getMaxColumnNameLength());
        }

        return $this->name;
    }
public function getName ( ) { $ this -> doNaming ( ) ; if ( $ this -> table && $ database = $ this -> table -> getDatabase ( ) ) { return substr ( $ this -> name , 0 , $ database -> getMaxColumnNameLength ( ) ) ; } return $ this -> name ; }
Returns the index name.

@return string
Returns the index name .