File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
wcfsetup/install/files/lib/system/form/builder/field Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,20 @@ class PasswordFormField extends AbstractFormField implements
4646 */
4747 protected $ templateName = 'shared_passwordFormField ' ;
4848
49+ /**
50+ * @since 6.2
51+ */
4952 protected bool $ strengthMeter = true ;
5053
5154 /**
5255 * @var IFormField[]
56+ * @since 6.2
5357 */
5458 protected array $ relatedFields = [];
5559
5660 /**
5761 * @var string[]
62+ * @since 6.2
5863 */
5964 protected array $ relatedFieldsId = [];
6065
@@ -110,6 +115,8 @@ public function validate()
110115 /**
111116 * Sets if the password strength meter should be used to provide feedback
112117 * to the user about the strength of their password.
118+ *
119+ * @since 6.2
113120 */
114121 public function passwordStrengthMeter (bool $ passwordStrengthMeter = true ): self
115122 {
@@ -143,20 +150,27 @@ public function addMeterRelatedField(IFormField $input): self
143150 return $ this ;
144151 }
145152
153+ /**
154+ * @since 6.2
155+ */
146156 public function addMeterRelatedFieldId (string $ fieldId ): self
147157 {
148158 $ this ->relatedFieldsId [] = $ fieldId ;
149159
150160 return $ this ;
151161 }
152162
163+ /**
164+ * @since 6.2
165+ */
153166 public function getStrengthMeter (): bool
154167 {
155168 return $ this ->strengthMeter ;
156169 }
157170
158171 /**
159172 * @return string[]
173+ * @since 6.2
160174 */
161175 public function getRelatedFieldsIDs (): array
162176 {
You can’t perform that action at this time.
0 commit comments