Represents a form confirm button. More...
Public Member Functions | |
__construct ($name, $pretty_name) | |
Initialize the name and pretty name for the field. | |
get_type () | |
Get the view of this field, relative to form/ directory in the views folder. |
Represents a form confirm button.
Form_Button_Confirm_Model::__construct | ( | $ | name, | |
$ | pretty_name | |||
) |
Initialize the name and pretty name for the field.
There is (almost) no fields that shouldn't take options. Thus (almost) all field types needs to override this method. Thus not overriding this methods is (most likely) an error. And those can do it anyway. Thus protected.
$name | string | |
$pretty_name | string |
Reimplemented from Form_Button_Model.
Form_Button_Confirm_Model::get_type | ( | ) |
Get the view of this field, relative to form/ directory in the views folder.
It should be possible to do "skins" for forms by adding a subdirectory in the form/ folder, which should re-implement the views.
Reimplemented from Form_Button_Model.