Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace LdapRecord\Query\Model; |
| 4 | |
| 5 | class FreeIpaBuilder extends Builder |
| 6 | { |
| 7 | /** |
| 8 | * Adds a enabled filter to the current query. |
| 9 | * |
| 10 | * @return $this |
| 11 | */ |
| 12 | public function whereEnabled() |
| 13 | { |
| 14 | return $this->rawFilter('(!(pwdAccountLockedTime=*))'); |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Adds a disabled filter to the current query. |
| 19 | * |
| 20 | * @return $this |
| 21 | */ |
| 22 | public function whereDisabled() |
| 23 | { |
| 24 | return $this->rawFilter('(pwdAccountLockedTime=*)'); |
| 25 | } |
| 26 | } |