PHP 클래스 Owl\Repositories\Eloquent\ItemFtsRepository

상속: implements Owl\Repositories\ItemFtsRepositoryInterface
파일 보기 프로젝트 열기: owl/owl

보호된 프로퍼티들

프로퍼티 타입 설명
$itemFts

공개 메소드들

메소드 설명
__construct ( ItemFts $itemFts )
create ( integer $item_id, string $title, text $body ) : Illuminate\Database\Eloquent\Model Create a item fts.
deleteItemFts ( $item_id ) : boolean Delete a item fts.
match ( string $str, integer $limit = 10, integer $offset ) : array match
matchCount ( string $str ) : array matchCount
toNgram ( string $title, text $body ) : string Convert String into N-Gramed string.

메소드 상세

__construct() 공개 메소드

public __construct ( ItemFts $itemFts )
$itemFts Owl\Repositories\Eloquent\Models\ItemFts

create() 공개 메소드

Create a item fts.
public create ( integer $item_id, string $title, text $body ) : Illuminate\Database\Eloquent\Model
$item_id integer
$title string
$body text
리턴 Illuminate\Database\Eloquent\Model

deleteItemFts() 공개 메소드

Delete a item fts.
public deleteItemFts ( $item_id ) : boolean
$item_id int
리턴 boolean

match() 공개 메소드

match
public match ( string $str, integer $limit = 10, integer $offset ) : array
$str string
$limit integer
$offset integer
리턴 array

matchCount() 공개 메소드

matchCount
public matchCount ( string $str ) : array
$str string
리턴 array

toNgram() 공개 메소드

Convert String into N-Gramed string.
public toNgram ( string $title, text $body ) : string
$title string
$body text
리턴 string

프로퍼티 상세

$itemFts 보호되어 있는 프로퍼티

protected $itemFts