| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Sections;
- use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
- use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
- /**
- *
- * Created by PhpStorm.
- * User: ThurData
- * Date: 12.11.19
- * Time: 13:42
- * Class AdditionalSection
- */
- class AdditionalSection extends FreeFieldsSection
- {
- protected $id = 'additionalSection';
- protected $name = 'additionalSection';
- use FormExtendedTrait;
- public function initContent()
- {
- $this->generateDoubleSection([new Text('title'), new Text('profession')]);
- $this->generateDoubleSection([new Text('department'), new Text('office')]);
- $this->generateDoubleSection([new Text('work_phone'), new Text('mobile_phone')]);
- }
- }
|