PHP Class Newscoop\Service\Model\Search\ColumnOrder

Inheritance: extends Column
Datei anzeigen Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$ascending boolean *

Public Methods

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

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

order() public method

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.
return Newscoop\Service\Model\Search\Column This instance, used for chaining purposes.

orderAscending() public method

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

orderDescending() public method

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

Property Details

$ascending protected_oe property

*
protected bool $ascending
return boolean