Skip to content

Commit

Permalink
Update neues_category.php
Browse files Browse the repository at this point in the history
  • Loading branch information
schorschy committed Dec 4, 2023
1 parent 20bb56d commit dd744ab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/neues_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,20 @@ public function getName(): string
{
return $this->getValue('name');
}
public function setName(string $string) :self
{
$this->setValue('name', $string);
return $this;
}

/** @api */
public function getEntries(): ?rex_yform_manager_collection
{
return $this->getRelatedDataset('entry_ids');
}
public function setEntries(rex_yform_manager_collection $entries): self
{
$this->setValue('entry_ids', $entries);
return $this;
}
}

0 comments on commit dd744ab

Please sign in to comment.