PHP Class Flarum\Core\Search\Discussion\DiscussionSearch

Inheritance: extends Flarum\Core\Search\AbstractSearch
Datei anzeigen Open project: flarum/core Class Usage Examples

Protected Properties

Property Type Description
$defaultSort
$relevantPostIds array

Public Methods

Method 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 method

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

setRelevantPostIds() public method

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

Property Details

$defaultSort protected_oe property

protected $defaultSort

$relevantPostIds protected_oe property

protected array $relevantPostIds
return array