original_string: public static function get_fullname_field($firstnamefirst = false) {
          global $DB;
          if ($firstnamefirst) {
              return $DB->sql_fullname(self::resolve_field('firstname', 'user'), self::resolve_field('lastname', 'user'));
          }
          return $DB->sql_fullname(self::resolve_field('lastname', 'user'), self::resolve_field('firstname', 'user'));
      }
code: public static function get_fullname_field($firstnamefirst = false) {
          global $DB;
          if ($firstnamefirst) {
              return $DB->sql_fullname(self::resolve_field('firstname', 'user'), self::resolve_field('lastname', 'user'));
          }
          return $DB->sql_fullname(self::resolve_field('lastname', 'user'), self::resolve_field('firstname', 'user'));
      }
code_tokens: public static function get_fullname_field ( $ firstnamefirst = false ) { global $ DB ; if ( $ firstnamefirst ) { return $ DB -> sql_fullname ( self :: resolve_field ( 'firstname' , 'user' ) , self :: resolve_field ( 'lastname' , 'user' ) ) ; } return $ DB -> sql_fullname ( self :: resolve_field ( 'lastname' , 'user' ) , self :: resolve_field ( 'firstname' , 'user' ) ) ; }
docstring: Convenience method to get get the SQL statement for the full name.
  
  @param bool $firstnamefirst Whether or not the firstname is first in the author's name.
  @return string The SQL statement.
docstring_tokens: Convenience method to get get the SQL statement for the full name .