yii\sphinx\Schema::quoteIndexName PHP 메소드

quoteIndexName() 공개 메소드

If the index name contains schema prefix, the prefix will also be properly quoted. If the index name is already quoted or contains '(' or '{{', then this method will do nothing.
또한 보기: quoteSimpleTableName
public quoteIndexName ( string $name ) : string
$name string index name
리턴 string the properly quoted index name
    public function quoteIndexName($name)
    {
        if (strpos($name, '(') !== false || strpos($name, '{{') !== false) {
            return $name;
        }
        return $this->quoteSimpleIndexName($name);
    }