PHP Class Flarum\Core\Search\Discussion\DiscussionSearch

Inheritance: extends Flarum\Core\Search\AbstractSearch
Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$defaultSort
$relevantPostIds array

Méthodes publiques

Méthode Description
getRelevantPostIds ( ) : int[] Get the related IDs for each result.
setRelevantPostIds ( array $relevantPostIds ) : void Set the relevant post IDs for the results.

Method Details

getRelevantPostIds() public méthode

Get the related IDs for each result.
public getRelevantPostIds ( ) : int[]
Résultat int[]

setRelevantPostIds() public méthode

Set the relevant post IDs for the results.
public setRelevantPostIds ( array $relevantPostIds ) : void
$relevantPostIds array
Résultat void

Property Details

$defaultSort protected_oe property

protected $defaultSort

$relevantPostIds protected_oe property

protected array $relevantPostIds
Résultat array