public function CurrentCalendar()
    {
        $url = Convert::raw2url($this->request->param('ID'));

        $cal = PublicCalendar::get()
            ->filter('URLSegment', $url)
            ->First();
        return $cal;
    }
public function CurrentCalendar()
    {
        $url = Convert::raw2url($this->request->param('ID'));

        $cal = PublicCalendar::get()
            ->filter('URLSegment', $url)
            ->First();
        return $cal;
    }
public function CurrentCalendar ( ) { $ url = Convert :: raw2url ( $ this -> request -> param ( 'ID' ) ) ; $ cal = PublicCalendar :: get ( ) -> filter ( 'URLSegment' , $ url ) -> First ( ) ; return $ cal ; }
Renders the current calendar, if a calenar link has been supplied via the url
Renders the current calendar if a calenar link has been supplied via the url