PHP Класс Newscoop\Service\Model\Search\Search

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$allColumns array *
$orderBy array *

Открытые методы

Метод Описание
addOrderBy ( Column $column ) (DO NOT CALL THIS DIRECTLY) Add an order by column for this search.
getAllColumns ( ) : array Provides all the columns registered in this search.
getOrderedBy ( ) : array Provides the columns to be ordered by in this search.
register ( Column $column ) : Column (DO NOT CALL THIS DIRECTLY) Register the column to this search.

Описание методов

addOrderBy() публичный метод

(DO NOT CALL THIS DIRECTLY) Add an order by column for this search.
public addOrderBy ( Column $column )
$column Column The column to order by, must not be null or empty.

getAllColumns() публичный метод

Provides all the columns registered in this search.
public getAllColumns ( ) : array
Результат array The arrays containing all the Columns registered.

getOrderedBy() публичный метод

The order in the array will be the order in which the columns have been specified for ordering.
public getOrderedBy ( ) : array
Результат array The arrays containing the Columns to be ordered by.

register() публичный метод

(DO NOT CALL THIS DIRECTLY) Register the column to this search.
public register ( Column $column ) : Column
$column Column The column to register, must not be null or empty.
Результат Column The same column provided, used for chaining purposes.

Описание свойств

$allColumns защищенное свойство

*
protected array $allColumns
Результат array

$orderBy защищенное свойство

*
protected array $orderBy
Результат array