original_string: public function definition_after_data() {
          $mform = $this->_form;
  
          if ($userfullnames = $mform->getElementValue('userfullnames')) {
              $mform->getElement('selectednames')->setValue(\html_writer::span($userfullnames, 'selectednames'));
          }
      }
code: public function definition_after_data() {
          $mform = $this->_form;
  
          if ($userfullnames = $mform->getElementValue('userfullnames')) {
              $mform->getElement('selectednames')->setValue(\html_writer::span($userfullnames, 'selectednames'));
          }
      }
code_tokens: public function definition_after_data ( ) { $ mform = $ this -> _form ; if ( $ userfullnames = $ mform -> getElementValue ( 'userfullnames' ) ) { $ mform -> getElement ( 'selectednames' ) -> setValue ( \ html_writer :: span ( $ userfullnames , 'selectednames' ) ) ; } }
docstring: This method implements changes to the form that need to be made once the form data is set.
docstring_tokens: This method implements changes to the form that need to be made once the form data is set .