getData('contextId'); } public function setContextId(int $contextId): void { $this->setData('contextId', $contextId); } public function getSequence(): float { return $this->getData('sequence'); } public function setSequence(float $sequence): void { $this->setData('sequence', $sequence); } /* Because title is required, there must be at least one title */ public function getLocalizedTitle(): string { return $this->getLocalizedData('title'); } public function getTitle(?string $locale): string|array|null { return $this->getData('title', $locale); } public function setTitle(string|array $title, string $locale = null): void { $this->setData('title', $title, $locale); } /** * Return boolean indicating whether or not submissions are restricted to [sub]Editors. */ public function getEditorRestricted(): bool { return $this->getData('editorRestricted'); } /** * Set whether or not submissions are restricted to [sub]Editors. */ public function setEditorRestricted(bool $editorRestricted): void { $this->setData('editorRestricted', $editorRestricted); } /** * Return boolean indicating if section is not active. */ public function getIsInactive(): bool { return $this->getData('isInactive'); } /** * Set if section should be inactivated. */ public function setIsInactive(bool $isInactive): void { $this->setData('isInactive', $isInactive); } } if (!PKP_STRICT_MODE) { class_alias('\PKP\section\PKPSection', '\PKPSection'); }