A * denotes an optional parameter.
addDBField(type, name, friendlyName, *defaultValue)
- Description: Adds a database field to the table given by name that is of the given field type. friendlyName specifies the name shown whenever this database field is displayed. defaultValue is the default value used when a row is created with this module.
mymodule::$module->addDBField("varchar(255)", "user", "User");
Module Functions