Provides {@see \core_contentbank\form\edit_content} class.
Copyright: | 2020 Victor Deniz <victor@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 90 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
edit_content:: (2 methods):
__construct()
add_action_buttons()
Class: edit_content - X-Ref
Defines the form for editing a content.__construct(string $action = null, array $customdata = null, string $method = 'post') X-Ref |
Constructor. param: string $action The action attribute for the form. param: array $customdata Data to set during instance creation. param: string $method Form method. |
add_action_buttons($cancel = true, $submitlabel = null) X-Ref |
Overrides formslib's add_action_buttons() method. param: bool $cancel param: string|null $submitlabel return: void |