Open Preprint Systems  3.3.0
MastheadForm.inc.php
1 <?php
15 use \PKP\components\forms\context\PKPMastheadForm;
16 use \PKP\components\forms\FieldText;
17 
19 
23  public function __construct($action, $locales, $context, $imageUploadUrl) {
24  parent::__construct($action, $locales, $context, $imageUploadUrl);
25 
26  $this->addField(new FieldText('abbreviation', [
27  'label' => __('manager.setup.journalAbbreviation'),
28  'isMultilingual' => true,
29  'groupId' => 'identity',
30  'value' => $context->getData('abbreviation'),
31  ]))
32  ->addField(new FieldText('sponsoringOrganization', [
33  'label' => __('manager.setup.sponsoringOrganization'),
34  'groupId' => 'identity',
35  'value' => $context->getData('sponsoringOrganization'),
36  ]));
37  }
38 }
PKP\components\forms\FieldText
Definition: FieldText.inc.php:15
PKP\components\forms\context\PKPMastheadForm
Definition: PKPMastheadForm.inc.php:21
APP\components\forms\context
Definition: AccessForm.inc.php:15
PKP\components\forms\FormComponent\$action
$action
Definition: FormComponent.inc.php:37
APP\components\forms\context\MastheadForm
Definition: MastheadForm.inc.php:18
APP\components\forms\context\MastheadForm\__construct
__construct($action, $locales, $context, $imageUploadUrl)
Definition: MastheadForm.inc.php:23
PKP\components\forms\FormComponent\addField
addField($field, $position=[])
Definition: FormComponent.inc.php:94
PKP\components\forms\FormComponent\$locales
$locales
Definition: FormComponent.inc.php:43