. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\Tree; /** * Something that needs to be researched at a later date. */ class ResearchTask extends AbstractElement { protected const SUBTAGS = [ 'DATE' => '0:1', '_WT_USER' => '0:1', ]; /** * Convert a value to a canonical form. * * @param string $value * * @return string */ public function canonical(string $value): string { return $this->canonicalText($value); } /** * An edit control for this data. * * @param string $id * @param string $name * @param string $value * @param Tree $tree * * @return string */ public function edit(string $id, string $name, string $value, Tree $tree): string { return $this->editTextArea($id, $name, $value); } }