Example #1
0
 /**
  * @param string|NULL $id
  */
 public function actionDefault($id = NULL)
 {
     if ($id === NULL) {
         $this->error();
     }
     $this->season = $this->seasonFinder->find($id);
     if ($this->season === NULL) {
         $this->error();
     }
 }
 public function renderXml()
 {
     $this->template->seasons = $this->seasonFinder->findAll($this->languageFinder->findByShortName($this->locale));
 }