/**
  * @param HistoryAction $historyPage
  * @param string $year
  * @param string $month
  * @param string $tagFilter
  * @param array $conds
  */
 function __construct($historyPage, $year = '', $month = '', $tagFilter = '', $conds = array())
 {
     parent::__construct($historyPage->getContext());
     $this->historyPage = $historyPage;
     $this->tagFilter = $tagFilter;
     $this->getDateCond($year, $month);
     $this->conds = $conds;
 }
Exemple #2
0
 /**
  * @param HistoryAction $historyPage
  * @param string $year
  * @param string $month
  * @param string $tagFilter
  * @param array $conds
  */
 function __construct($historyPage, $year = '', $month = '', $tagFilter = '', $conds = [])
 {
     parent::__construct($historyPage->getContext());
     $this->historyPage = $historyPage;
     $this->tagFilter = $tagFilter;
     $this->getDateCond($year, $month);
     $this->conds = $conds;
     $this->showTagEditUI = ChangeTags::showTagEditingUI($this->getUser());
 }