1<?php
2
3namespace dokuwiki\plugin\yearbox\services\pageNameStrategies;
4
5class YearMonthCombinedNS extends PageNameStrategy
6{
7
8    public function getPageId($baseNS, $year, $month, $day, $name)
9    {
10        $pagename = ($name ? "$name-" : '') . "$year-$month-$day";
11        return "$baseNS:$year-$month:$pagename";
12    }
13}
14