コード例 #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();
     }
 }
コード例 #2
0
 public function renderXml()
 {
     $this->template->seasons = $this->seasonFinder->findAll($this->languageFinder->findByShortName($this->locale));
 }