yii\sphinx\Schema::getRawIndexName PHP Метод

getRawIndexName() публичный Метод

This method will strip off curly brackets from the given index name and replace the percentage character '%' with [[Connection::indexPrefix]].
public getRawIndexName ( string $name ) : string
$name string the index name to be converted
Результат string the real name of the given index name
    public function getRawIndexName($name)
    {
        if (strpos($name, '{{') !== false) {
            $name = preg_replace('/\\{\\{(.*?)\\}\\}/', '\\1', $name);
            return str_replace('%', $this->db->tablePrefix, $name);
        } else {
            return $name;
        }
    }