/** * @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; }
public function __construct(Page $article) { # Just to make it public parent::__construct($article); }
/** * @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()); }
public function __construct(Page $article) { parent::__construct($article); }