Ejemplo n.º 1
0
 /**
  * Month action
  *
  * @param int $year
  * @param int $month
  *
  * @return void
  */
 public function monthAction($year = NULL, $month = NULL)
 {
     $date = DateTimeUtility::normalizeDateTime(1, $month, $year);
     $this->view->assignMultiple(array('date' => $date, 'indices' => $this->indexRepository->findMonth($date->format('Y'), $date->format('n'))));
 }
 /**
  * Month action
  *
  * @param int $year
  * @param int $month
  *
  * @return void
  */
 public function monthAction($year = null, $month = null)
 {
     $date = DateTimeUtility::normalizeDateTime(1, $month, $year);
     $this->slotExtendedAssignMultiple(['date' => $date, 'indices' => $this->indexRepository->findMonth($date->format('Y'), $date->format('n'))], __CLASS__, __FUNCTION__);
 }