38ae076af1eeaaffae1f3de47c2ae3bd8c21904f
[GitHub/WoltLab/woltlab.github.io.git] /
1 <?php
2
3 namespace wcf\system\condition\person;
4
5 use wcf\data\person\Person;
6 use wcf\system\condition\AbstractObjectTextPropertyCondition;
7
8 /**
9 * Condition implementation for the first name of a person.
10 *
11 * @author Matthias Schmidt
12 * @copyright 2001-2021 WoltLab GmbH
13 * @license WoltLab License <http://www.woltlab.com/license-agreement.html>
14 * @package WoltLabSuite\Core\System\Condition
15 */
16 class PersonFirstNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
17 {
18 /**
19 * @inheritDoc
20 */
21 protected $className = Person::class;
22
23 /**
24 * @inheritDoc
25 */
26 protected $description = 'wcf.person.condition.firstName.description';
27
28 /**
29 * @inheritDoc
30 */
31 protected $fieldName = 'personFirstName';
32
33 /**
34 * @inheritDoc
35 */
36 protected $label = 'wcf.person.firstName';
37
38 /**
39 * @inheritDoc
40 */
41 protected $propertyName = 'firstName';
42
43 /**
44 * @inheritDoc
45 */
46 protected $supportsMultipleValues = true;
47 }