PHP 클래스 Owl\Repositories\Fluent\ItemFtsRepository

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

보호된 프로퍼티들

프로퍼티 타입 설명
$table

공개 메소드들

메소드 설명
create ( integer $item_id, string $title, text $body ) : integer Create a item fts.
deleteItemFts ( $item_id ) : boolean Delete a item fts.
getById ( integer $item_id ) : void get a itemFts by item_id.
getTableName ( ) : string Get a table name.
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.

메소드 상세

create() 공개 메소드

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

deleteItemFts() 공개 메소드

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

getById() 공개 메소드

get a itemFts by item_id.
public getById ( integer $item_id ) : void
$item_id integer
리턴 void

getTableName() 공개 메소드

Get a table name.
public getTableName ( ) : string
리턴 string

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

프로퍼티 상세

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

protected $table