Свойство | Тип | Описание | |
---|---|---|---|
$tag | |||
$tagFts |
Метод | Описание | |
---|---|---|
__construct ( |
||
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 ) : Collection | get a tag by tag id. | |
getByName ( string $name ) : Collection | 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. |
public __construct ( |
||
$tag | ||
$tagFts |
public deleteFlowFlag ( $tag_id ) : boolean | ||
$tag_id | int tag_id | |
Результат | boolean |
public firstOrCreateByName ( string $name ) : Illuminate\Database\Eloquent\Model | ||
$name | string | |
Результат | Illuminate\Database\Eloquent\Model |
public getAllFlowTags ( ) : Collection | ||
Результат | Collection |
public getAllUsedTags ( ) : array | ||
Результат | array |
public updateFlowFlag ( integer $tag_id, boolean $flag = true ) : Illuminate\Database\Eloquent\Model | ||
$tag_id | integer | |
$flag | boolean | |
Результат | Illuminate\Database\Eloquent\Model |