field.class.php

来自「很棒的在线教学系统」· PHP 代码 · 共 23 行

PHP
23
字号
<?php //$Id: field.class.php,v 1.2 2007/10/08 08:10:46 ikawhero Exp $class profile_field_textarea extends profile_field_base {    function edit_field_add(&$mform) {        $cols = $this->field->param1;        $rows = $this->field->param2;        /// Create the form field        $mform->addElement('htmleditor', $this->inputname, format_string($this->field->name), array('cols'=>$cols, 'rows'=>$rows));        $mform->setType($this->inputname, PARAM_CLEAN);    }    /// Overwrite base class method, data in this field type is potentially too large to be    /// included in the user object    function is_user_object_data() {        return false;    }}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?