PHP 클래스 yii\sphinx\IndexSchema

부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\base\Object
파일 보기 프로젝트 열기: yiisoft/yii2-sphinx

공개 프로퍼티들

프로퍼티 타입 설명
$columns column metadata of this index. Each array element is a ColumnSchema object, indexed by column names.
$isRuntime whether this index is a runtime index.
$name name of this index.
$primaryKey primary key of this index.
$type type of the index.

공개 메소드들

메소드 설명
getColumn ( string $name ) : ColumnSchema Gets the named column metadata.
getColumnNames ( ) : array Returns the names of all columns in this table.

메소드 상세

getColumn() 공개 메소드

This is a convenient method for retrieving a named column even if it does not exist.
public getColumn ( string $name ) : ColumnSchema
$name string column name
리턴 ColumnSchema metadata of the named column. Null if the named column does not exist.

getColumnNames() 공개 메소드

Returns the names of all columns in this table.
public getColumnNames ( ) : array
리턴 array list of column names

프로퍼티 상세

$columns 공개적으로 프로퍼티

column metadata of this index. Each array element is a ColumnSchema object, indexed by column names.
public $columns

$isRuntime 공개적으로 프로퍼티

whether this index is a runtime index.
public $isRuntime

$name 공개적으로 프로퍼티

name of this index.
public $name

$primaryKey 공개적으로 프로퍼티

primary key of this index.
public $primaryKey

$type 공개적으로 프로퍼티

type of the index.
public $type