| @@ 365-373 (lines=9) @@ | ||
| 362 | /** |
|
| 363 | * {@inheritdoc} |
|
| 364 | */ |
|
| 365 | public static function getActiveModels(QueryBuilderFlex &$qb) |
|
| 366 | { |
|
| 367 | $qb |
|
| 368 | ->whereNot(self::DELETED_COLUMN, '=', self::DELETED_VALUE) |
|
| 369 | ->whereNot('is_inactive', '=', true) |
|
| 370 | ; |
|
| 371 | ||
| 372 | return true; |
|
| 373 | } |
|
| 374 | } |
|
| 375 | ||
| @@ 506-514 (lines=9) @@ | ||
| 503 | /** |
|
| 504 | * {@inheritdoc} |
|
| 505 | */ |
|
| 506 | public static function getActiveModels(QueryBuilderFlex &$qb) |
|
| 507 | { |
|
| 508 | $qb |
|
| 509 | ->whereNot(self::DELETED_COLUMN, '=', self::DELETED_VALUE) |
|
| 510 | ->whereNot('is_inactive', '=', true) |
|
| 511 | ; |
|
| 512 | ||
| 513 | return true; |
|
| 514 | } |
|
| 515 | ||
| 516 | /** |
|
| 517 | * Get the Server model with the respective address |
|