Translations:Extension:Page Forms/Developers' documentation/12/en

To create a new input type, you need to define a class for that input, and have it inherit (using the "extends" keyword) from the class $1, or one of its child classes.