Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / user / profile / field / textarea / field.class.php
blob956c092cbe02a2c2c868cdc53ebb529cee095583
1 <?php //$Id$
3 class profile_field_textarea extends profile_field_base {
5 function edit_field_add(&$mform) {
6 $cols = $this->field->param1;
7 $rows = $this->field->param2;
9 /// Create the form field
10 $mform->addElement('htmleditor', $this->inputname, format_string($this->field->name), array('cols'=>$cols, 'rows'=>$rows));
11 $mform->setType($this->inputname, PARAM_CLEAN);
14 /// Overwrite base class method, data in this field type is potentially too large to be
15 /// included in the user object
16 function is_user_object_data() {
17 return false;