original_string: public function get_imsnames($courseattr) {
  
          $values = $this->imsnames;
          if ($courseattr == 'summary') {
              $values = array_merge(array('ignore' => get_string('emptyattribute', 'enrol_imsenterprise')), $values);
          }
          return $values;
      }
code: public function get_imsnames($courseattr) {
  
          $values = $this->imsnames;
          if ($courseattr == 'summary') {
              $values = array_merge(array('ignore' => get_string('emptyattribute', 'enrol_imsenterprise')), $values);
          }
          return $values;
      }
code_tokens: public function get_imsnames ( $ courseattr ) { $ values = $ this -> imsnames ; if ( $ courseattr == 'summary' ) { $ values = array_merge ( array ( 'ignore' => get_string ( 'emptyattribute' , 'enrol_imsenterprise' ) ) , $ values ) ; } return $ values ; }
docstring: Returns the assignable values for the course attribute
  @param string $courseattr The course attribute (shortname, fullname...)
  @return array Array of assignable values
docstring_tokens: Returns the assignable values for the course attribute