|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| display_add_field ($recordid=0) | |
| display_search_field ($value= '') | |
| parse_search_field () | |
| generate_sql ($tablealias, $value) | |
| print_after_form () | |
| update_content ($recordid, $value, $name='') | |
Data Fields | |
| $type = 'textarea' | |
Definition at line 27 of file field.class.php.
| display_add_field | ( | $ | recordid = 0 | ) |
Print the relevant form element in the ADD template for this field
object
| int | $recordid |
Reimplemented from data_field_base.
Definition at line 31 of file field.class.php.

| display_search_field | ( | $ | value = '' | ) |
Definition at line 84 of file field.class.php.
| generate_sql | ( | $ | tablealias, |
| $ | value | ||
| ) |
Definition at line 92 of file field.class.php.
| print_after_form | ( | ) |
Just in case a field needs to print something after the whole form
Reimplemented from data_field_base.
Definition at line 101 of file field.class.php.
| update_content | ( | $ | recordid, |
| $ | value, | ||
| $ | name = '' |
||
| ) |
Update the content of one data field in the data_content table object
| int | $recordid | |
| mixed | $value | |
| string | $name |
Reimplemented from data_field_base.
Definition at line 105 of file field.class.php.

| $type = 'textarea' |
Reimplemented from data_field_base.
Definition at line 29 of file field.class.php.