You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
618B

  1. <?php
  2. namespace common\logic\CreditHistory;
  3. use common\logic\BaseService;
  4. use common\logic\RepositoryInterface;
  5. class CreditHistoryRepository extends BaseService implements RepositoryInterface
  6. {
  7. /**
  8. * Retourne les options de base nécessaires à la fonction de recherche.
  9. *
  10. * @return array
  11. */
  12. public static function defaultOptionsSearch()
  13. {
  14. return [
  15. 'with' => [],
  16. 'join_with' => [],
  17. 'orderby' => CreditHistory::tableName() . '.date ASc',
  18. 'attribute_id_producer' => CreditHistory::tableName() . '.id_producer'
  19. ];
  20. }
  21. }