Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 334415e93f
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.434 kb
<?php //$Id$
class profile_field_text extends profile_field_base {
function edit_field_add(&$mform) {
$size = $this->field->param1;
$maxlength = $this->field->param2;
/// Create the form field
$mform->addElement('text', $this->inputname, format_string($this->field->name), 'maxlength="'.$maxlength.'" size="'.$size.'" ');
$mform->setType($this->inputname, PARAM_MULTILANG);
}
}
?>
Jump to Line
Something went wrong with that request. Please try again.