Jet\DataModel_Query_OrderBy_Item
The class represents a specific sort element within the ORDER BY definition of the query part - it is a subentity of the Jet\DataModel_Query_OrderBy class.
Overview of methods
Method | Meaning of |
---|---|
public __construct( DataModel_Definition_Property| DataModel_Query_Select_Item $item, bool $desc=false ) |
Parameters:
|
public getItem( ) : DataModel_Definition_Property| DataModel_Query_Select_Item |
Returns the definition of the element to sort by. |
public getDesc( ) : bool |
Indicates descending shifting. |
public setDesc( bool $desc ) : void |
Sets the descending shift. |