PHP Class Newscoop\Service\Model\Search\ColumnOrder

Inheritance: extends Column
Afficher le fichier Open project: sourcefabric/newscoop

Protected Properties

Свойство Type Description
$ascending boolean *

Méthodes publiques

Méthode Description
isOrderAscending ( ) : null | boolean Provides the ordering status of the column.
order ( boolean $ascending ) : Newscoop\Service\Model\Search\Column Set this column to be ordered.
orderAscending ( ) : Newscoop\Service\Model\Search\Column Set this column to be ordered asscending.
orderDescending ( ) : Newscoop\Service\Model\Search\Column Set this column to be ordered descending.

Method Details

isOrderAscending() public méthode

Provides the ordering status of the column.
public isOrderAscending ( ) : null | boolean
Résultat null | boolean Returns NULL if this column is not ordered, true if the order is ascending, flase for descending.

order() public méthode

Set this column to be ordered.
public order ( boolean $ascending ) : Newscoop\Service\Model\Search\Column
$ascending boolean If true than the column will be ordered asscending, if false descending.
Résultat Newscoop\Service\Model\Search\Column This instance, used for chaining purposes.

orderAscending() public méthode

Set this column to be ordered asscending.
public orderAscending ( ) : Newscoop\Service\Model\Search\Column
Résultat Newscoop\Service\Model\Search\Column This instance, used for chaining purposes.

orderDescending() public méthode

Set this column to be ordered descending.
public orderDescending ( ) : Newscoop\Service\Model\Search\Column
Résultat Newscoop\Service\Model\Search\Column This instance, used for chaining purposes.

Property Details

$ascending protected_oe property

*
protected bool $ascending
Résultat boolean