Skip to content

Commit 1538de6

Browse files
committed
some class comments
1 parent 41fb10b commit 1538de6

16 files changed

+89
-17
lines changed

files/lib/system/form/builder/container/MCAttachmentFormContainer.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
use wcf\system\exception\SystemException;
1212
use wcf\system\form\builder\field\MCAttachmentFormField;
1313

14+
/**
15+
* Container providing the possiblity to upload attachmetns without the need of an wysiwyg-editor
16+
*
17+
* @author Florian Gail
18+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
19+
*/
1420
class MCAttachmentFormContainer extends FormContainer
1521
{
1622
/**

files/lib/system/form/builder/container/MCDummyFormContainer.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use wcf\system\WCF;
66

7+
/**
8+
* Container without own code; representing it's children only
9+
*
10+
* @author Florian Gail
11+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
12+
*/
713
class MCDummyFormContainer extends FormContainer
814
{
915
/**

files/lib/system/form/builder/container/wysiwyg/MCI18nWysiwygFormContainer.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
use wcf\system\form\builder\field\wysiwyg\WysiwygAttachmentFormField;
1414
use wcf\system\Regex;
1515

16+
/**
17+
* i18n implementation of WysiwygFormContainer
18+
*
19+
* @author Florian Gail
20+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
21+
*/
1622
class MCI18nWysiwygFormContainer extends WysiwygFormContainer
1723
{
1824
/**

files/lib/system/form/builder/data/processor/MCPrefixedFormDataProcessor.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
use wcf\system\form\builder\IFormDocument;
1111
use wcf\system\form\builder\IFormNode;
1212

13+
/**
14+
* Container grouping it's children's data into an array
15+
*
16+
* @author Florian Gail
17+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
18+
*/
1319
class MCPrefixedFormDataProcessor extends AbstractFormDataProcessor
1420
{
1521
/**

files/lib/system/form/builder/field/MCAttachmentFormField.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
use wcf\system\WCF;
99
use wcf\util\StringUtil;
1010

11+
/**
12+
* i18n implementation of WysiwygFormContainer
13+
*
14+
* @author Florian Gail
15+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
16+
*/
1117
class MCAttachmentFormField extends AbstractFormField
1218
{
1319
/**

files/lib/system/form/builder/field/MCBadgeColorFormField.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
use wcf\system\form\builder\IFormNode;
77
use wcf\util\StringUtil;
88

9+
/**
10+
* Form field providing a badge-color selection with live preview
11+
*
12+
* @author Florian Gail
13+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
14+
*/
915
class MCBadgeColorFormField extends AbstractFormField implements
1016
IAutoFocusFormField,
1117
IImmutableFormField,

files/lib/system/form/builder/field/MCEmptySingleSelectionFormField.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
use wcf\system\WCF;
66

7+
/**
8+
* Implementation of SingleSelectionFormField supporting "noSelection" as option without the need to add it manually
9+
*
10+
* @author Florian Gail
11+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
12+
*/
713
class MCEmptySingleSelectionFormField extends SingleSelectionFormField
814
{
915
/**

files/lib/system/form/builder/field/MCNullableUrlFormField.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
namespace wcf\system\form\builder\field;
44

5+
/**
6+
* Implementation of UrlFormField, but nullable
7+
*
8+
* @author Florian Gail
9+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
10+
*/
511
class MCNullableUrlFormField extends UrlFormField implements INullableFormField
612
{
713
use TNullableFormField;

files/lib/system/form/builder/field/MCPasswordFormField.class.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111
use wcf\util\StringUtil;
1212

1313
/**
14-
* Implementation of a form field for single-line text values.
14+
* Implementation of a form field for passwords.
1515
*
16-
* @author Matthias Schmidt
16+
* @author Matthias Schmidt, Florian Gail
1717
* @copyright 2001-2019 WoltLab GmbH
18-
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
19-
* @package WoltLabSuite\Core\System\Form\Builder\Field
20-
* @since 5.2
18+
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
2119
*/
2220
class MCPasswordFormField extends AbstractFormField implements
2321
IAutoFocusFormField,

files/lib/system/form/builder/field/MCPreviewedUploadFormField.class.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
* Implementation of a form field for to uploads.
77
* This extension supports UploadFile-objects and strings for file-locations.
88
*
9-
* @author Joshua Ruesweg, Florian Gail
10-
* @copyright 2001-2019 WoltLab GmbH
11-
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12-
* @package WoltLabSuite\Core\System\Form\Builder\Field
13-
* @since 5.2
14-
* @deprecated use \wcf\system\form\builder\field\UploadFormField instead
9+
* @author Florian Gail
10+
* @copyright Florian Gail; 2018 - 2022; <https://www.mysterycode.de>
11+
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12+
* @deprecated use \wcf\system\form\builder\field\UploadFormField instead
13+
* @package WoltLabSuite\Core\System\Form\Builder\Field
1514
*/
1615
class MCPreviewedUploadFormField extends UploadFormField
1716
{

0 commit comments

Comments
 (0)