original_string: protected function get_popover_title() {
          $title = null;
  
          $userdate = userdate($this->data[0], get_string('strftimedayshort'));
          if (count($this->related['events'])) {
              $title = get_string('eventsfor', 'calendar', $userdate);
          } else if ($this->data['istoday']) {
              $title = $userdate;
          }
  
          if ($this->data['istoday']) {
              $title = get_string('todayplustitle', 'calendar', $userdate);
          }
  
          return $title;
      }
code: protected function get_popover_title() {
          $title = null;
  
          $userdate = userdate($this->data[0], get_string('strftimedayshort'));
          if (count($this->related['events'])) {
              $title = get_string('eventsfor', 'calendar', $userdate);
          } else if ($this->data['istoday']) {
              $title = $userdate;
          }
  
          if ($this->data['istoday']) {
              $title = get_string('todayplustitle', 'calendar', $userdate);
          }
  
          return $title;
      }
code_tokens: protected function get_popover_title ( ) { $ title = null ; $ userdate = userdate ( $ this -> data [ 0 ] , get_string ( 'strftimedayshort' ) ) ; if ( count ( $ this -> related [ 'events' ] ) ) { $ title = get_string ( 'eventsfor' , 'calendar' , $ userdate ) ; } else if ( $ this -> data [ 'istoday' ] ) { $ title = $ userdate ; } if ( $ this -> data [ 'istoday' ] ) { $ title = get_string ( 'todayplustitle' , 'calendar' , $ userdate ) ; } return $ title ; }
docstring: Get the title for this popover.
  
  @return string
docstring_tokens: Get the title for this popover .