Class field.  
 More...
 | 
| 
const  | TYPE = 'textarea' | 
|   | Const type. 
  | 
|   | 
 | 
| 
category_controller  | $category | 
|   | Category of the field. 
  | 
|   | 
| 
field  | $field | 
|   | Field persistent class. 
  | 
|   | 
◆ config_form_definition()
      
        
          | customfield_textarea\field_controller::config_form_definition  | 
          ( | 
          \MoodleQuickForm  | 
          $mform | ) | 
           | 
        
      
 
 
◆ config_form_validation()
  
  
      
        
          | core_customfield\field_controller::config_form_validation  | 
          ( | 
          array  | 
          $data,  | 
         
        
           | 
           | 
            | 
          $files = array()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inherited   | 
  
 
 
◆ course_grouping_format_values()
  
  
      
        
          | core_customfield\field_controller::course_grouping_format_values  | 
          ( | 
            | 
          $values | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ create()
  
  
      
        
          | static core_customfield\field_controller::create  | 
          ( | 
          int  | 
          $id,  | 
         
        
           | 
           | 
          stdClass  | 
          $record = null,  | 
         
        
           | 
           | 
          category_controller  | 
          $category = null  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticinherited   | 
  
 
Creates an instance of field_controller. 
Parameters $id, $record and $category can complement each other but not conflict. If $id is not specified, categoryid must be present either in $record or in $category. If $id is not specified, type must be present in $record
No DB queries are performed if both $record and $category are specified.
- Parameters
 - 
  
    | int | $id |  | 
    | stdClass | null | $record |  | 
    | category_controller | null | $category |  | 
  
   
- Return values
 - 
  
    | field_controller | will return the instance of the class from the customfield element plugin  | 
  
   
- Exceptions
 - 
  
  
 
 
 
◆ delete()
      
        
          | customfield_textarea\field_controller::delete  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ get()
  
  
      
        
          | core_customfield\field_controller::get  | 
          ( | 
          string  | 
          $property | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
Persistent getter parser. 
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
 
 
◆ get_category()
  
  
      
        
          | core_customfield\field_controller::get_category  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
Get the category associated with this field. 
- Return values
 - 
  
  
 
 
 
◆ get_configdata_property()
  
  
      
        
          | core_customfield\field_controller::get_configdata_property  | 
          ( | 
          string  | 
          $property | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Get configdata property. 
- Parameters
 - 
  
    | string | $property | name of the property  | 
  
   
- Return values
 - 
  
  
 
 
 
◆ get_formatted_name()
  
  
      
        
          | core_customfield\field_controller::get_formatted_name  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Returns the field name formatted according to configuration context. 
- Return values
 - 
  
  
 
 
 
◆ get_handler()
  
  
      
        
          | core_customfield\field_controller::get_handler  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
Returns a handler for this field. 
- Return values
 - 
  
  
 
 
 
◆ parse_value()
  
  
      
        
          | core_customfield\field_controller::parse_value  | 
          ( | 
          string  | 
          $value | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ prepare_for_config_form()
      
        
          | customfield_textarea\field_controller::prepare_for_config_form  | 
          ( | 
          \stdClass  | 
          $formdata | ) | 
           | 
        
      
 
Prepare the field data to set in the configuration form. 
Necessary if some preprocessing required for editor or filemanager fields
- Parameters
 - 
  
  
 
Reimplemented from core_customfield\field_controller.
 
 
◆ save()
      
        
          | customfield_textarea\field_controller::save  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ set()
  
  
      
        
          | core_customfield\field_controller::set  | 
          ( | 
            | 
          $property,  | 
         
        
           | 
           | 
            | 
          $value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
finalinherited   | 
  
 
Persistent setter parser. 
- Parameters
 - 
  
    | string | $property |  | 
    | mixed | $value |  | 
  
   
- Return values
 - 
  
  
 
 
 
◆ supports_course_grouping()
  
  
      
        
          | core_customfield\field_controller::supports_course_grouping  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ to_record()
  
  
      
        
          | core_customfield\field_controller::to_record  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
finalinherited   | 
  
 
Persistent to_record parser. 
- Return values
 - 
  
  
 
 
 
◆ value_editor_options()
      
        
          | customfield_textarea\field_controller::value_editor_options  | 
          ( | 
          \context  | 
          $context = null | ) | 
           | 
        
      
 
Options for editor. 
- Parameters
 - 
  
    | context | null | $context | context if known, otherwise configuration context will be used  | 
  
   
- Return values
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: