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);
    }
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);
    }
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 ) ; }
Returns the HTML to display a month.

@param  int $year
@param  int $month
@return void
Returns the HTML to display a month .