PHP 인터페이스 Owl\Repositories\TagRepositoryInterface

파일 보기 프로젝트 열기: owl/owl

공개 메소드들

메소드 설명
deleteFlowFlag ( $tag_id ) : boolean Delete a flow tag settings.
firstOrCreateByName ( string $name ) : Illuminate\Database\Eloquent\Model get a tag or Create a tag.
getAll ( ) : Collection get all tags.
getAllFlowTags ( ) : Collection get all flow tags.
getAllUsedTags ( ) : array get all used tags.
getById ( integer $id ) : void get a tag by tag id.
getByName ( string $name ) : void get a tag by tag name.
syncTags ( object $item, array $tag_ids ) : void sync tags
updateFlowFlag ( integer $tag_id, boolean $flag = true ) : Illuminate\Database\Eloquent\Model Update a tag's flow_flag.

메소드 상세

deleteFlowFlag() 공개 메소드

Delete a flow tag settings.
public deleteFlowFlag ( $tag_id ) : boolean
$tag_id int tag_id
리턴 boolean

firstOrCreateByName() 공개 메소드

get a tag or Create a tag.
public firstOrCreateByName ( string $name ) : Illuminate\Database\Eloquent\Model
$name string
리턴 Illuminate\Database\Eloquent\Model

getAll() 공개 메소드

get all tags.
public getAll ( ) : Collection
리턴 Collection

getAllFlowTags() 공개 메소드

get all flow tags.
public getAllFlowTags ( ) : Collection
리턴 Collection

getAllUsedTags() 공개 메소드

get all used tags.
public getAllUsedTags ( ) : array
리턴 array

getById() 공개 메소드

get a tag by tag id.
public getById ( integer $id ) : void
$id integer
리턴 void

getByName() 공개 메소드

get a tag by tag name.
public getByName ( string $name ) : void
$name string
리턴 void

syncTags() 공개 메소드

sync tags
public syncTags ( object $item, array $tag_ids ) : void
$item object
$tag_ids array
리턴 void

updateFlowFlag() 공개 메소드

Update a tag's flow_flag.
public updateFlowFlag ( integer $tag_id, boolean $flag = true ) : Illuminate\Database\Eloquent\Model
$tag_id integer
$flag boolean
리턴 Illuminate\Database\Eloquent\Model