src/PageTypes/DatedUpdateHolderController.php
public function AvailableMonths()
    {
        $params = $this->parseParams();

        return DatedUpdateHolder::ExtractMonths(
            $this->Updates($params['tag'], $params['from'], $params['to']),
            Director::makeRelative($_SERVER['REQUEST_URI']),
            $params['year'],
            $params['month']
        );
    }
public function AvailableMonths()
    {
        $params = $this->parseParams();

        return DatedUpdateHolder::ExtractMonths(
            $this->Updates($params['tag'], $params['from'], $params['to']),
            Director::makeRelative($_SERVER['REQUEST_URI']),
            $params['year'],
            $params['month']
        );
    }
public function AvailableMonths ( ) { $ params = $ this -> parseParams ( ) ; return DatedUpdateHolder :: ExtractMonths ( $ this -> Updates ( $ params [ 'tag' ] , $ params [ 'from' ] , $ params [ 'to' ] ) , Director :: makeRelative ( $ _SERVER [ 'REQUEST_URI' ] ) , $ params [ 'year' ] , $ params [ 'month' ] ) ; }
Extract the available months based on the current query.
Only tag is respected. Pagination and months are ignored.
Extract the available months based on the current query . Only tag is respected . Pagination and months are ignored .