Moodle  2.2.1
http://www.collinsharper.com
block_html_edit_form Class Reference
Inheritance diagram for block_html_edit_form:
Collaboration diagram for block_html_edit_form:

Public Member Functions

 set_data ($defaults)

Protected Member Functions

 specific_definition ($mform)

Detailed Description

Form for editing HTML block instances.

Definition at line 32 of file edit_form.php.


Member Function Documentation

set_data ( default_values)

Load in existing data as form defaults. Usually new entry defaults are stored directly in form definition (new entry form); this function is used to load in data where values already exist and data is being edited (edit entry form).

note: $slashed param removed

Parameters:
mixed$default_valuesobject or array of default values

Reimplemented from block_edit_form.

Definition at line 46 of file edit_form.php.

Here is the call graph for this function:

specific_definition ( mform) [protected]

Override this to create any form fields specific to this type of block.

Parameters:
object$mformthe form being built.

Reimplemented from block_edit_form.

Definition at line 33 of file edit_form.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations