public function getCalendar($externalCoverageId, $calendarId)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => $calendarId,
                'path_filter' => 'calendars'
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getCalendar($externalCoverageId, $calendarId)
    {
        $query = array(
            'api' => 'coverage',
            'parameters' => array(
                'region' => $externalCoverageId,
                'action' => $calendarId,
                'path_filter' => 'calendars'
            ),
        );

        return $this->navitia_component->call($query);
    }
public function getCalendar ( $ externalCoverageId , $ calendarId ) { $ query = array ( 'api' => 'coverage' , 'parameters' => array ( 'region' => $ externalCoverageId , 'action' => $ calendarId , 'path_filter' => 'calendars' ) , ) ; return $ this -> navitia_component -> call ( $ query ) ; }
Returns a Calendar.

@param string $externalCoverageId
@param string $calendarId

@return object
Returns a Calendar .