public function addSeries(Series $series)
 {
     if (1 == count($this->breadcrumbs)) {
         $this->add($this->session->get('breadcrumbs/title', $this->allTitle), $this->session->get('breadcrumbs/routeName', $this->allRoute), $this->session->get('breadcrumbs/routeParameters', array()));
     }
     $this->add($series->getTitle(), "pumukit_webtv_series_index", array("id" => $series->getId()));
 }
예제 #2
0
 public function testToString()
 {
     $series = new Series();
     $this->assertEquals($series->getTitle(), $series->__toString());
 }