form.php

This script creates a form to edit an entity. Its parameters are type, the name of an entity, relationship or dynamic enumerative type, and id, which provides the SQL identifier of the element to edit (if it is zero, a new element will be created).