original_string: public function showMonth($year, $month)
      {
          if (null !== $this->partial) {
              $partial = $this->view->plugin('partial');
  
              $params = array(
                  'calendar' => $this->calendar,
                  'startDay' => $this->startDay,
                  'year'     => $year,
                  'month'    => $month,
              );
  
              return $partial($this->partial, $params);
          }
  
          $renderer = $this->getRenderer();
  
          $renderer->setCalendar($this->calendar);
          $renderer->setStartDay($this->startDay);
  
          return $renderer->renderMonth($year, $month);
      }
code: public function showMonth($year, $month)
      {
          if (null !== $this->partial) {
              $partial = $this->view->plugin('partial');
  
              $params = array(
                  'calendar' => $this->calendar,
                  'startDay' => $this->startDay,
                  'year'     => $year,
                  'month'    => $month,
              );
  
              return $partial($this->partial, $params);
          }
  
          $renderer = $this->getRenderer();
  
          $renderer->setCalendar($this->calendar);
          $renderer->setStartDay($this->startDay);
  
          return $renderer->renderMonth($year, $month);
      }
code_tokens: public function showMonth ( $ year , $ month ) { if ( null !== $ this -> partial ) { $ partial = $ this -> view -> plugin ( 'partial' ) ; $ params = array ( 'calendar' => $ this -> calendar , 'startDay' => $ this -> startDay , 'year' => $ year , 'month' => $ month , ) ; return $ partial ( $ this -> partial , $ params ) ; } $ renderer = $ this -> getRenderer ( ) ; $ renderer -> setCalendar ( $ this -> calendar ) ; $ renderer -> setStartDay ( $ this -> startDay ) ; return $ renderer -> renderMonth ( $ year , $ month ) ; }
docstring: Returns the HTML to display a month.
  
  @param  int $year
  @param  int $month
  @return void
docstring_tokens: Returns the HTML to display a month .