8c06314423c74b4c853a837e3d168284e302b29f
[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 last 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 PersonLastNameTextPropertyCondition extends AbstractObjectTextPropertyCondition
17 {
18 /**
19 * @inheritDoc
20 */
21 protected $className = Person::class;
22
23 /**
24 * @inheritDoc
25 */
26 protected $description = 'wcf.person.condition.lastName.description';
27
28 /**
29 * @inheritDoc
30 */
31 protected $fieldName = 'personLastName';
32
33 /**
34 * @inheritDoc
35 */
36 protected $label = 'wcf.person.lastName';
37
38 /**
39 * @inheritDoc
40 */
41 protected $propertyName = 'lastName';
42
43 /**
44 * @inheritDoc
45 */
46 protected $supportsMultipleValues = true;
47 }