src/PageTypes/DatedUpdateHolderController.php
public function UpdateTagsWithLinks()
    {
        $tags = $this->UpdateTags();

        $processed = ArrayList::create();

        foreach ($tags as $tag) {
            // Build the link - keep the tag, and date range, but reset month, year and pagination.
            $link = HTTP::setGetVar('tag', $tag->ID, null, '&');
            $link = HTTP::setGetVar('month', null, $link, '&');
            $link = HTTP::setGetVar('year', null, $link, '&');
            $link = HTTP::setGetVar('start', null, $link, '&');

            $tag->Link = $link;
            $processed->push($tag);
        }

        return $processed;
    }
public function UpdateTagsWithLinks()
    {
        $tags = $this->UpdateTags();

        $processed = ArrayList::create();

        foreach ($tags as $tag) {
            // Build the link - keep the tag, and date range, but reset month, year and pagination.
            $link = HTTP::setGetVar('tag', $tag->ID, null, '&');
            $link = HTTP::setGetVar('month', null, $link, '&');
            $link = HTTP::setGetVar('year', null, $link, '&');
            $link = HTTP::setGetVar('start', null, $link, '&');

            $tag->Link = $link;
            $processed->push($tag);
        }

        return $processed;
    }
public function UpdateTagsWithLinks ( ) { $ tags = $ this -> UpdateTags ( ) ; $ processed = ArrayList :: create ( ) ; foreach ( $ tags as $ tag ) { // Build the link - keep the tag, and date range, but reset month, year and pagination. $ link = HTTP :: setGetVar ( 'tag' , $ tag -> ID , null , '&' ) ; $ link = HTTP :: setGetVar ( 'month' , null , $ link , '&' ) ; $ link = HTTP :: setGetVar ( 'year' , null , $ link , '&' ) ; $ link = HTTP :: setGetVar ( 'start' , null , $ link , '&' ) ; $ tag -> Link = $ link ; $ processed -> push ( $ tag ) ; } return $ processed ; }
List tags and attach links.
List tags and attach links .