-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alanpilloud
committed
Apr 9, 2019
1 parent
396902b
commit a0b9a5e
Showing
6 changed files
with
56 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### setOrder(int $sortBy, string $sortDirection = null) | ||
|
||
Permet de définir le critère de tri et l'ordre. | ||
|
||
#### Paramètres | ||
|
||
| Param | Type | Description | | ||
| --- | --- | --- | | ||
| $sortBy | int | Critère de tri | | ||
| $sortDirection | string | Optionnel, sens du tri, accepte 'asc' ou 'desc' | | ||
|
||
|
||
#### Constantes | ||
|
||
- Client::SORT_BY_PRICE | ||
- Client::SORT_BY_ROOMS | ||
- Client::SORT_BY_SURFACE | ||
- Client::SORT_BY_CREATED_AT | ||
|
||
#### Exemple | ||
|
||
```php | ||
$Client->setSort(Client::SORT_BY_PRICE); | ||
|
||
$Client->setSort(Client::SORT_BY_PRICE, 'asc'); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters