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.

23 line
525B

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