. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\Tree; /** * DESCRIPTIVE_TITLE := {Size=1:248} * The title of a work, record, item, or object. */ class DescriptiveTitle extends AbstractElement { /** * 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); } }