PHP 클래스 Flarum\Core\Search\SearchCriteria

파일 보기 프로젝트 열기: flarum/core

공개 프로퍼티들

프로퍼티 타입 설명
$actor Flarum\Core\User The user performing the search.
$query string The search query.
$sort array An array of sort-order pairs, where the column is the key, and the order is the value. The order may be 'asc', 'desc', or an array of IDs to order by.

공개 메소드들

메소드 설명
__construct ( User $actor, string $query, array $sort = null )

메소드 상세

__construct() 공개 메소드

public __construct ( User $actor, string $query, array $sort = null )
$actor Flarum\Core\User The user performing the search.
$query string The search query.
$sort array An array of sort-order pairs, where the column is the key, and the order is the value. The order may be 'asc', 'desc', or an array of IDs to order by.

프로퍼티 상세

$actor 공개적으로 프로퍼티

The user performing the search.
public User,Flarum\Core $actor
리턴 Flarum\Core\User

$query 공개적으로 프로퍼티

The search query.
public string $query
리턴 string

$sort 공개적으로 프로퍼티

An array of sort-order pairs, where the column is the key, and the order is the value. The order may be 'asc', 'desc', or an array of IDs to order by.
public array $sort
리턴 array