original_string: public function other_cols($column, $row) {
          if (preg_match('/^status([\d]+)$/', $column, $matches)) {
              $versionid = $matches[1];
              return $this->status($versionid, $row);
          }
          if (preg_match('/^usermodified([\d]+)$/', $column, $matches)) {
              if ($row->$column && $row->$column != $row->id) {
                  $user = (object)['id' => $row->$column];
                  username_load_fields_from_object($user, $row, 'mod');
                  return $this->username($user, true);
              }
              return ''; // User agreed by themselves.
          }
          return null;
      }
code: public function other_cols($column, $row) {
          if (preg_match('/^status([\d]+)$/', $column, $matches)) {
              $versionid = $matches[1];
              return $this->status($versionid, $row);
          }
          if (preg_match('/^usermodified([\d]+)$/', $column, $matches)) {
              if ($row->$column && $row->$column != $row->id) {
                  $user = (object)['id' => $row->$column];
                  username_load_fields_from_object($user, $row, 'mod');
                  return $this->username($user, true);
              }
              return ''; // User agreed by themselves.
          }
          return null;
      }
code_tokens: public function other_cols ( $ column , $ row ) { if ( preg_match ( '/^status([\d]+)$/' , $ column , $ matches ) ) { $ versionid = $ matches [ 1 ] ; return $ this -> status ( $ versionid , $ row ) ; } if ( preg_match ( '/^usermodified([\d]+)$/' , $ column , $ matches ) ) { if ( $ row -> $ column && $ row -> $ column != $ row -> id ) { $ user = ( object ) [ 'id' => $ row -> $ column ] ; username_load_fields_from_object ( $ user , $ row , 'mod' ) ; return $ this -> username ( $ user , true ) ; } return '' ; // User agreed by themselves. } return null ; }
docstring: You can override this method in a child class. See the description of
  build_table which calls this method.
  
  @param string $column
  @param stdClass $row
  @return string
docstring_tokens: You can override this method in a child class . See the description of build_table which calls this method .