Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
sphinx
Query
snippetCallback
yii\sphinx\Query::snippetCallback PHP 메소드
Query 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2-sphinx
snippetCallback()
공개
메소드
Sets the PHP callback, which should be used to retrieve the source data for the snippets building.
또한 보기:
snippetCallback
public
snippetCallback
(
callable
$callback
)
$callback
callable
PHP callback, which should be used to fetch source data for the snippets.
public function snippetCallback($callback) { $this->snippetCallback = $callback; return $this; }
Query
addFacets
addOptions
addWithin
callSnippets
callSnippetsInternal
create
createCommand
defaultConnection
facets
fillUpSnippets
getConnection
groupLimit
innerJoin
join
leftJoin
match
one
options
populate
queryScalar
rightJoin
search
setConnection
showMeta
snippetCallback
snippetOptions
within