summaryrefslogtreecommitdiff
path: root/app/frontend/controls/CalendarGroupFilter.php
blob: 6f19bcd8845351b82a09e60118c2f76f24b3c08b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

Prado::using('Application.web.FacadeTemplateControl');

Prado::using('Application.facades.CalendarFacade');

class CalendarGroupFilter extends FacadeTemplateControl {

    public function onPreRender($param) {
        parent::onPreRender($param);
        $this->Categories->DataSource = $this->Facade->getCategories();
        $this->Categories->dataBind();
    }

    public function getPradoScriptDependencies() {
        return ['jquery'];
    }

}

?>