PHP Interface Owl\Repositories\TagFtsRepositoryInterface

Afficher le fichier Open project: owl/owl

Méthodes publiques

Méthode Description
firstOrCreateByIdAndWords ( integer $tag_id, string $words ) : Illuminate\Database\Eloquent\Model get a tagFts data or Create a tagFts data by ID and Words.
match ( string $string, integer $limit = 10, integer $offset ) : array get tags data by string for FullTextSearch.

Method Details

firstOrCreateByIdAndWords() public méthode

get a tagFts data or Create a tagFts data by ID and Words.
public firstOrCreateByIdAndWords ( integer $tag_id, string $words ) : Illuminate\Database\Eloquent\Model
$tag_id integer
$words string
Résultat Illuminate\Database\Eloquent\Model

match() public méthode

get tags data by string for FullTextSearch.
public match ( string $string, integer $limit = 10, integer $offset ) : array
$string string
$limit integer
$offset integer
Résultat array